Revert "Experimental function calling across tabs"

This reverts commit 88f4bc22f0d7da33657cb64347ee96bceecd2b4a.
This commit is contained in:
Alessandro Pignotti 2022-10-05 14:42:14 +02:00 committed by Carlo Piovesan
parent 2b4933aaba
commit 0d37154516
2 changed files with 1 additions and 7 deletions

View file

@ -100,7 +100,7 @@
await up(); await up();
statusElem.innerHTML = "Starting login..."; statusElem.innerHTML = "Starting login...";
const url = await loginPromise; const url = await loginPromise;
w.changeLocation(url); w.location.href = url;
} }
waitLogin(); waitLogin();
}; };

View file

@ -5,12 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Tailscale login</title> <title>Tailscale login</title>
<script>
function changeLocation(url)
{
window.location.href = url;
}
</script>
</head> </head>
<body> <body>
Loading network code... Loading network code...