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 6273842 commit 4d0f54dCopy full SHA for 4d0f54d
unpacked/MathJax.js
@@ -3130,9 +3130,7 @@ MathJax.Hub.Startup = {
3130
else {STARTUP.params[params[j]] = true}
3131
}
3132
3133
- CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'')
3134
- // convert mathjax/latest to mathjax/x.y-latest so that all files are the same version
3135
- .replace(/^(https?:\/\/cdn.mathjax.org\/mathjax\/)(latest)/,"$1"+BASE.version.split(/\./).slice(0,2).join(".")+"-$2");
+ CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,'');
3136
BASE.Ajax.config.root = CONFIG.root;
3137
BASE.Ajax.params = STARTUP.params;
3138
break;
0 commit comments