Merge pull request #1463 from dpvc/issue1428

Reset message strings for messageStyle=simple for each typeset.  Resolves issue #1428.
This commit is contained in:
Davide P. Cervone 2016-05-11 17:22:01 -04:00
commit 88d1bb03d3

View File

@ -1711,6 +1711,12 @@ MathJax.Message = {
return text;
},
clearCounts: function () {
delete this.loading;
delete this.processing;
delete this.typesetting;
},
Set: function (text,n,clearDelay) {
if (n == null) {n = this.log.length; this.log[n] = {}}
//
@ -2116,6 +2122,7 @@ MathJax.Hub = {
},
prepareScripts: function (action,element,state) {
MathJax.Message.clearCounts();
if (arguments.callee.disabled) return;
var scripts = this.elementScripts(element);
var STATE = MathJax.ElementJax.STATE;