Skip to content

Commit fdd0b77

Browse files
committed
Set some menuSettings to null so that the defaults work properly, but they still appear in the list so people know about them.
1 parent 581ff4d commit fdd0b77

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

unpacked/MathJax.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,15 +1889,15 @@ MathJax.Hub = {
18891889
Shift: false, // require Shift?
18901890
discoverable: false, // make math menu discoverable on hover?
18911891
zscale: "200%", // the scaling factor for MathZoom
1892-
renderer: "", // set when Jax are loaded
1892+
renderer: null, // set when Jax are loaded
18931893
font: "Auto", // what font HTML-CSS should use
18941894
context: "MathJax", // or "Browser" for pass-through to browser menu
1895-
locale: "en", // the language to use for messages
1895+
locale: null, // the language to use for messages
18961896
mpContext: false, // true means pass menu events to MathPlayer in IE
18971897
mpMouse: false, // true means pass mouse events to MathPlayer in IE
18981898
texHints: true, // include class names for TeXAtom elements
1899-
FastPreview: true, // use PreviewHTML output as preview?
1900-
assistiveMML: true, // include hidden MathML for screen readers?
1899+
FastPreview: null, // use PreviewHTML output as preview?
1900+
assistiveMML: null, // include hidden MathML for screen readers?
19011901
inTabOrder: true, // set to false if math elements should be included in the tabindex
19021902
semantics: false // add semantics tag with original form in MathML output
19031903
},

unpacked/config/default.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,15 @@ MathJax.Hub.Config({
242242
Shift: false, // require Shift?
243243
discoverable: false, // make math menu discoverable on hover?
244244
zscale: "200%", // the scaling factor for MathZoom
245-
renderer: "", // set when Jax are loaded
245+
renderer: null, // set when Jax are loaded
246246
font: "Auto", // what font HTML-CSS should use
247247
context: "MathJax", // or "Browser" for pass-through to browser menu
248-
locale: "en", // the language to use for messages
248+
locale: null, // the language to use for messages
249249
mpContext: false, // true means pass menu events to MathPlayer in IE
250250
mpMouse: false, // true means pass mouse events to MathPlayer in IE
251251
texHints: true, // include class names for TeXAtom elements
252-
FastPreview: true, // use PreviewHTML output as preview?
253-
assistiveMML: true, // include hidden MathML for screen readers?
252+
FastPreview: null, // use PreviewHTML output as preview?
253+
assistiveMML: null, // include hidden MathML for screen readers?
254254
inTabOrder: true, // set to true if math elements should be included in the tabindex
255255
semantics: false // add semantics tag with original form in MathML output
256256
},

0 commit comments

Comments
 (0)