From a9c5f9b43f146c539398efd589c5d281957a32a1 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 27 Mar 2026 22:25:15 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20Options=20tab=20broken=20=E2=80=94=20rem?= =?UTF-8?q?oved=20footer=20link=20crashed=20init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removing the footer made $('#btnOptions') return null, causing addEventListener to throw. This killed the rest of initUnlockedUI(), preventing the Options tab and all subsequent handlers from being wired up. https://claude.ai/code/session_01SWSwDfMVij53bCTNSCLMwn --- src/popup/popup.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/popup/popup.js b/src/popup/popup.js index 780f0be..12a5633 100644 --- a/src/popup/popup.js +++ b/src/popup/popup.js @@ -208,13 +208,7 @@ async function initUnlockedUI() { }); }); - // Options link (footer) - $('#btnOptions').addEventListener('click', (e) => { - e.preventDefault(); - api.runtime.openOptionsPage(); - }); - - // Options tab + // Open full options page button (Options tab) $('#btnOpenFullOptions').addEventListener('click', () => { api.runtime.openOptionsPage(); });