Skip to content

Commit

Permalink
fix: browser action invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
cnwangjie committed May 9, 2019
1 parent d6d51ee commit 73210d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const init = async () => {
browser.runtime.onMessage.addListener(messageHandler),
browser.runtime.onUpdateAvailable.addListener(detail => { window.update = detail.version }),
browser.runtime.onInstalled.addListener(installedEventHandler),
browser.browserAction.onClicked.addListener(action => window.browswerActionClickedHandler(action)),
browser.browserAction.onClicked.addListener(() => window.browswerActionClickedHandler()),
browser.contextMenus.onClicked.addListener(info => window.contextMenusClickedHandler(info)),
browser.tabs.onActivated.addListener(_.debounce(tabsChangedHandler, 200)),
browser.storage.onChanged.addListener(storageChangedHandler),
Expand Down

0 comments on commit 73210d6

Please sign in to comment.