소스 검색

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) {