From 455636220fa4e865a55cb1ff82c1f6150cac5b44 Mon Sep 17 00:00:00 2001 From: Tom Plant Date: Sat, 11 Apr 2026 09:24:47 +0000 Subject: [PATCH] fix: login tab not opening Signed-off-by: Tom Plant --- popup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/popup.js b/popup.js index 9d8b28b..e217532 100644 --- a/popup.js +++ b/popup.js @@ -32,6 +32,7 @@ document.addEventListener("DOMContentLoaded", () => { } function updateStatus(status) { + lastStatus = status; isLoading = false; hasReceivedInitialState = true; if (status.error) { @@ -48,6 +49,7 @@ document.addEventListener("DOMContentLoaded", () => { stateDisplay.innerHTML = status.browseToURL ? `Log in` : "Login required; no URL"; + stateDisplay.querySelector('a').onclick = browseToURL; return; } if (typeof status === "string" && status === "Disconnected") {