Skip to content

Commit

Permalink
Update background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
asamuzaK committed May 19, 2024
1 parent 992004d commit c6be0df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mjs/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ const {
browserAction.onClicked.addListener(() =>
toggleSidebar().then(setSidebarState).catch(throwErr)
);
commands.onCommand.addListener(cmd => handleCmd(cmd).catch(throwErr));
commands.onCommand.addListener((cmd, tab) =>
handleCmd(cmd, tab).catch(throwErr)
);
contextualIdentities.onCreated.addListener(info =>
createContextualIdentitiesMenu(info).catch(throwErr)
);
Expand Down

0 comments on commit c6be0df

Please sign in to comment.