Don't load menu or zoom code if showMathMenu is false. Resolves issue #685.
This commit is contained in:
parent
67ee149dd2
commit
6799f197ab
|
@ -2554,6 +2554,7 @@ MathJax.Hub.Startup = {
|
||||||
// if needed later on.
|
// if needed later on.
|
||||||
//
|
//
|
||||||
MenuZoom: function () {
|
MenuZoom: function () {
|
||||||
|
if (MathJax.Hub.config.showMathMenu) {
|
||||||
if (!MathJax.Extension.MathMenu) {
|
if (!MathJax.Extension.MathMenu) {
|
||||||
setTimeout(
|
setTimeout(
|
||||||
function () {
|
function () {
|
||||||
|
@ -2575,6 +2576,7 @@ MathJax.Hub.Startup = {
|
||||||
2000
|
2000
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user