[mathjax] Add separate addon JS file

- Use new footer hook to register script files
This commit is contained in:
Hypolite Petovan 2018-09-20 21:08:03 -04:00
parent 02fe3efcdc
commit bdb856888d
2 changed files with 9 additions and 17 deletions

3
mathjax/mathjax.js Normal file
View file

@ -0,0 +1,3 @@
document.addEventListener('postprocess_liveupdate', function () {
MathJax.Hub.Queue(['Typeset', MathJax.Hub]);
});