Make sure the correct jax is passed to the postInputHooks.
This commit is contained in:
parent
e533634f37
commit
7df7e227c5
|
@ -2178,7 +2178,7 @@ MathJax.Hub = {
|
||||||
if (jax.called) continue; // go back and call Process() again
|
if (jax.called) continue; // go back and call Process() again
|
||||||
this.RestartAfter(jax); // wait for the callback
|
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.saveScript(jax,state,script,STATE); // add script to state
|
||||||
this.postInputHooks.Execute(jax,input.id,script); // run global jax filters
|
this.postInputHooks.Execute(jax,input.id,script); // run global jax filters
|
||||||
} else if (script.MathJax.state === STATE.OUTPUT) {
|
} else if (script.MathJax.state === STATE.OUTPUT) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user