Skip to content

Commit

Permalink
Suppress error on opening context menu on bookmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Nov 1, 2023
1 parent 5fa5f8d commit a888d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webextensions/background/tab-context-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ async function onShown(info, contextTab) {
updateItem('context_toggleMuteTab', {
visible: emulate && contextTab,
multiselected,
title: Commands.getMenuItemTitle(mItemsById.context_toggleMuteTab, {
title: contextTab && Commands.getMenuItemTitle(mItemsById.context_toggleMuteTab, {
multiselected,
unmuted: (!contextTab.mutedInfo || !contextTab.mutedInfo.muted),
}),
Expand Down

0 comments on commit a888d9e

Please sign in to comment.