www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 7df7e227c59940cf5eaa7030979caa9efc738225
parent e533634f37137dde6635d5066b1e9376f0af1985
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue, 28 Apr 2015 18:25:06 -0400

Make sure the correct jax is passed to the postInputHooks.

Diffstat:
Munpacked/MathJax.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js @@ -2178,7 +2178,7 @@ MathJax.Hub = { if (jax.called) continue; // go back and call Process() again this.RestartAfter(jax); // wait for the callback } - jax.Attach(script,input.id); // register the jax on the script + jax = jax.Attach(script,input.id); // register the jax on the script this.saveScript(jax,state,script,STATE); // add script to state this.postInputHooks.Execute(jax,input.id,script); // run global jax filters } else if (script.MathJax.state === STATE.OUTPUT) {