Skip to content

Commit d13b890

Browse files
committed
Deactivate "reopen in container" command if any selection is unreopenable
1 parent 4ad0b62 commit d13b890

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webextensions/background/tab-context-menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ async function onShown(info, contextTab) {
695695
}
696696
updateItem('context_reopenInContainer', {
697697
visible: emulate && contextTab && showContextualIdentities && !contextTab.incognito,
698-
enabled: TabsOpen.isOpenable(contextTab.url),
698+
enabled: contextTabs.every(tab => TabsOpen.isOpenable(tab.url)),
699699
multiselected
700700
}) && modifiedItemsCount++;
701701

0 commit comments

Comments
 (0)