mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 18:04:26 +02:00
5118 Implement MathJax JS hook to update contents after live update
This commit is contained in:
parent
3540d3d2d6
commit
b5fe8d61dd
2 changed files with 12 additions and 0 deletions
5
mathjax/mathjax.js
Normal file
5
mathjax/mathjax.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
Addon_registerHook("postprocess","mathjax_postprocess_liveupdate");
|
||||
function mathjax_postprocess_liveupdate()
|
||||
{
|
||||
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue