Przeglądaj źródła

always display "Save selection" in the menu

Former-commit-id: 9360a1647585d391664ecd53b82d328f0b4be380
Gildas 6 lat temu
rodzic
commit
2c653cf143
1 zmienionych plików z 10 dodań i 10 usunięć
  1. 10 10
      extension/ui/bg/ui-menus.js

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

@@ -130,17 +130,17 @@ singlefile.extension.ui.bg.menus = (() => {
 				contexts: defaultContexts,
 				contexts: defaultContexts,
 				title: MENU_VIEW_PENDINGS_MESSAGE
 				title: MENU_VIEW_PENDINGS_MESSAGE
 			});
 			});
+			menus.create({
+				id: "separator-1",
+				contexts: defaultContexts,
+				type: "separator"
+			});
+			menus.create({
+				id: MENU_ID_SAVE_SELECTED,
+				contexts: defaultContexts,
+				title: MENU_SAVE_SELECTION_MESSAGE
+			});
 			if (options.contextMenuEnabled) {
 			if (options.contextMenuEnabled) {
-				menus.create({
-					id: "separator-1",
-					contexts: pageContextsEnabled,
-					type: "separator"
-				});
-				menus.create({
-					id: MENU_ID_SAVE_SELECTED,
-					contexts: pageContextsEnabled,
-					title: MENU_SAVE_SELECTION_MESSAGE
-				});
 				menus.create({
 				menus.create({
 					id: MENU_ID_SAVE_FRAME,
 					id: MENU_ID_SAVE_FRAME,
 					contexts: ["frame"],
 					contexts: ["frame"],