diff --git a/background.js b/background.js index d1c2455..77c2368 100644 --- a/background.js +++ b/background.js @@ -15,4 +15,4 @@ function toggleTheme() { }); } -browser.browserAction.onClicked.addListener(toggleTheme); +browser.action.onClicked.addListener(toggleTheme);