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.
|
||||
//
|
||||
MenuZoom: function () {
|
||||
if (MathJax.Hub.config.showMathMenu) {
|
||||
if (!MathJax.Extension.MathMenu) {
|
||||
setTimeout(
|
||||
function () {
|
||||
|
@ -2575,6 +2576,7 @@ MathJax.Hub.Startup = {
|
|||
2000
|
||||
);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user