Skip to content

Commit 5b32a4b

Browse files
committed
Revert "Switching to use of mathjax v4"
This reverts commit d5380c2.
1 parent 022685e commit 5b32a4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/base/latex.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,12 +1085,12 @@ async function loadMathjax() {
10851085
}
10861086
};
10871087

1088-
let mj_dir = '../mathjax/4.0.0';
1088+
let mj_dir = '../mathjax/3.2.0';
10891089
if (browser.webwindow && source_dir.indexOf('https://root.cern/js') < 0 && source_dir.indexOf('https://jsroot.gsi.de') < 0)
10901090
mj_dir = 'mathjax';
10911091

1092-
return loadScript(source_dir + mj_dir + '/tex-svg.js')
1093-
.catch(() => loadScript('https://cdn.jsdelivr.net/npm/mathjax@4/tex-svg.js'))
1092+
return loadScript(source_dir + mj_dir + '/es5/tex-svg.js')
1093+
.catch(() => loadScript('https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-svg.js'))
10941094
.then(() => promise);
10951095
}
10961096

0 commit comments

Comments
 (0)