Produce signal when [Math Processing Error] is generated. Resolves issue#246.
This commit is contained in:
parent
26fb134eea
commit
d51cecbe4a
File diff suppressed because one or more lines are too long
|
@ -1684,6 +1684,7 @@ MathJax.Hub = {
|
||||||
script.parentNode.insertBefore(error,script);
|
script.parentNode.insertBefore(error,script);
|
||||||
if (script.MathJax.preview) {script.MathJax.preview.innerHTML = ""}
|
if (script.MathJax.preview) {script.MathJax.preview.innerHTML = ""}
|
||||||
this.lastError = err;
|
this.lastError = err;
|
||||||
|
this.signal.Post(["Math Processing Error",script,err]);
|
||||||
},
|
},
|
||||||
|
|
||||||
RestartAfter: function (callback) {
|
RestartAfter: function (callback) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user