A second try at fixing the FF callback error. Had the null in the wrong place, and apparently null doesn't do it anyway (though I could have sworn it had worked in testing). In any case, empty object for callback will work.

This commit is contained in:
Davide P. Cervone 2012-02-01 09:07:22 -05:00
parent 90e23901cd
commit 4b21f3a8e0
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1925,13 +1925,13 @@ MathJax.Hub.Startup = {
MenuZoom: function () {
if (!MathJax.Extension.MathMenu) {
setTimeout(
MathJax.Callback(["Require",MathJax.Ajax,"[MathJax]/extensions/MathMenu.js"],null),
MathJax.Callback(["Require",MathJax.Ajax,"[MathJax]/extensions/MathMenu.js",{}]),
1000
);
}
if (!MathJax.Extension.MathZoom) {
setTimeout(
MathJax.Callback(["Require",MathJax.Ajax,"[MathJax]/extensions/MathZoom.js"],null),
MathJax.Callback(["Require",MathJax.Ajax,"[MathJax]/extensions/MathZoom.js",{}]),
2000
);
}