mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 18:04:26 +02:00
[mathjax] Add separate addon JS file
- Use new footer hook to register script files
This commit is contained in:
parent
02fe3efcdc
commit
bdb856888d
2 changed files with 9 additions and 17 deletions
3
mathjax/mathjax.js
Normal file
3
mathjax/mathjax.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
document.addEventListener('postprocess_liveupdate', function () {
|
||||
MathJax.Hub.Queue(['Typeset', MathJax.Hub]);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue