5118 Implement MathJax JS hook to update contents after live update #615

Merged
abanink merged 4 commits from 5118 into develop 2018-06-13 22:43:57 +02:00
Showing only changes of commit d48f0010dd - Show all commits

View file

@ -24,7 +24,7 @@ function mathjax_uninstall() {
Addon::unregisterHook('page_header', 'addon/mathjax/mathjax.php', 'mathjax_page_header');
Addon::unregisterHook('addon_settings', 'addon/mathjax/mathjax.php', 'mathjax_settings');
Addon::unregisterHook('addon_settings_post', 'addon/mathjax/mathjax.php', 'mathjax_settings_post');
Addon::unregisterHook('template_vars','addon/mathjax/mathjax.php', 'mathjax_template_vars');
Addon::unregisterHook('template_vars', 'addon/mathjax/mathjax.php', 'mathjax_template_vars');
}
function mathjax_template_vars($a, &$arr) {