Ver Fonte

hide entry fome menu if necessary (fix #382)

Former-commit-id: 84b7097eee8651c3259725057236054d748b1198
Gildas há 5 anos atrás
pai
commit
e1c64fcf1d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      extension/ui/bg/ui-menus.js

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

@@ -129,7 +129,7 @@ singlefile.extension.ui.bg.menus = (() => {
 			}
 			menus.create({
 				id: MENU_ID_SAVE_SELECTED_LINKS,
-				contexts: options.contextMenuEnabled ? defaultContextsDisabled.concat(["selection"]) : defaultContextsDisabled.concat(["selection"]),
+				contexts: options.contextMenuEnabled ? defaultContextsDisabled.concat(["selection"]) : defaultContextsDisabled,
 				title: MENU_SAVE_SELECTED_LINKS
 			});
 			if (options.contextMenuEnabled) {