瀏覽代碼

Revert "Experimental function calling across tabs"

This reverts commit 88f4bc22f0d7da33657cb64347ee96bceecd2b4a.
Alessandro Pignotti 2 年之前
父節點
當前提交
0d37154516
共有 2 個文件被更改,包括 1 次插入7 次删除
  1. 1 1
      index.html
  2. 0 6
      login.html

+ 1 - 1
index.html

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

+ 0 - 6
login.html

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