Mark the root math element with the source ID so you can look up the jax from within the math tree
This commit is contained in:
parent
92c0a9f9a5
commit
bea67bcb8f
File diff suppressed because one or more lines are too long
|
@ -1915,6 +1915,7 @@ MathJax.Hub.Startup = {
|
|||
}
|
||||
jax.originalText = (script.text == "" ? script.innerHTML : script.text);
|
||||
jax.inputJax = inputJax;
|
||||
if (jax.root) {jax.root.inputID = jax.inputID}
|
||||
},
|
||||
Detach: function () {
|
||||
var script = this.SourceElement(); if (!script) return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user