[mathjax] Rewrite addon

- Remove baseurl admin config
- Move script to page end
- Add new postprocess_liveupdate event listener
- Fix formatting of mathjax.php
This commit is contained in:
Hypolite Petovan 2018-09-19 22:49:08 -04:00
parent a731f1ada0
commit 049abe9176
4 changed files with 65 additions and 101 deletions

View file

@ -1,5 +0,0 @@
Addon_registerHook("postprocess_liveupdate", "mathjax_postprocess_liveupdate");
function mathjax_postprocess_liveupdate()
{
MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
}