We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 022685e commit 5b32a4bCopy full SHA for 5b32a4b
modules/base/latex.mjs
@@ -1085,12 +1085,12 @@ async function loadMathjax() {
1085
}
1086
};
1087
1088
- let mj_dir = '../mathjax/4.0.0';
+ let mj_dir = '../mathjax/3.2.0';
1089
if (browser.webwindow && source_dir.indexOf('https://root.cern/js') < 0 && source_dir.indexOf('https://jsroot.gsi.de') < 0)
1090
mj_dir = 'mathjax';
1091
1092
- return loadScript(source_dir + mj_dir + '/tex-svg.js')
1093
- .catch(() => loadScript('https://cdn.jsdelivr.net/npm/mathjax@4/tex-svg.js'))
+ return loadScript(source_dir + mj_dir + '/es5/tex-svg.js')
+ .catch(() => loadScript('https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-svg.js'))
1094
.then(() => promise);
1095
1096
0 commit comments