浏览代码

hide entry fome menu if necessary (fix #382)

Former-commit-id: 84b7097eee8651c3259725057236054d748b1198
Gildas 5 年之前
父节点
当前提交
e1c64fcf1d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {