Skip to content

Commit c482d79

Browse files
committed
Hide 'Load from URL' menu for now (until we decide what to do about making it sticky)
1 parent 7b735d6 commit c482d79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unpacked/extensions/MathMenu.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
showContext: false, // show the "Context Menu" menu?
5757
showDiscoverable: false, // show the "Discoverable" menu?
5858
showLocale: true, // show the "Locale" menu?
59+
showLocaleURL: false, // show the "Load from URL" menu?
5960

6061
windowSettings: { // for source window
6162
status: "no", toolbar: "no", locationbar: "no", menubar: "no",
@@ -1071,8 +1072,8 @@
10711072
),
10721073
ITEM.SUBMENU(["Locale","Language"], {hidden:!CONFIG.showLocale},
10731074
ITEM.RADIO("en", "locale", {action: MENU.Locale}),
1074-
ITEM.RULE(),
1075-
ITEM.COMMAND(["LoadLocale","Load from URL ..."], MENU.LoadLocale)
1075+
ITEM.RULE().With({hidden:!CONFIG.showLocaleURL, name:["","localURL_rule"]}),
1076+
ITEM.COMMAND(["LoadLocale","Load from URL ..."], MENU.LoadLocale, {hidden:!CONFIG.showLocaleURL})
10761077
),
10771078
ITEM.RULE(),
10781079
ITEM.COMMAND(["About","About MathJax"],MENU.About),

0 commit comments

Comments
 (0)