We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f865b6a commit d49394aCopy full SHA for d49394a
unpacked/CDN-latest.js
@@ -95,12 +95,16 @@
95
if (request.status === 200) {
96
var json = JSON.parse(request.responseText);
97
if (json instanceof Array) json = json[0];
98
- setVersion(json[cdn.version]);
99
- loadMathJax(cdn.mathjax + json[cdn.version] + unpacked + '/MathJax.js' + config);
+ var version = json[cdn.version];
+ if (version.substr(0,1) === '2') {
100
+ setVersion(version);
101
+ loadMathJax(cdn.mathjax + json[cdn.version] + unpacked + '/MathJax.js' + config);
102
+ return;
103
+ }
104
} else {
105
Error("Problem aquiring MathJax version: status = " + request.status);
- laodDefaultMathJax();
106
}
107
+ laodDefaultMathJax();
108
109
110
request.open('GET', cdn.api, true);
0 commit comments