Prechádzať zdrojové kódy

don't display "save selection" entry in the tab and browser action menus

Former-commit-id: 80adb9a78bfd4196fa8190ecf68290f43a0de9ce
Gildas 6 rokov pred
rodič
commit
571d02f6fe
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      extension/ui/bg/ui-menus.js

+ 1 - 1
extension/ui/bg/ui-menus.js

@@ -121,7 +121,7 @@ singlefile.extension.ui.bg.menus = (() => {
 				});
 				menus.create({
 					id: MENU_ID_SAVE_SELECTED,
-					contexts: defaultContexts,
+					contexts: pageContextsEnabled,
 					title: MENU_SAVE_SELECTION_MESSAGE
 				});
 				menus.create({