Merge pull request #1292 from mathjax/pkra-eqreset

Update test/sample-dynamic.html
This commit is contained in:
Davide P. Cervone 2015-10-28 14:48:25 -04:00
commit abab9db28e

View File

@ -53,7 +53,12 @@ input {margin-top: .7em}
// so we don't see a flash as the math is cleared and replaced.
//
window.UpdateMath = function (TeX) {
QUEUE.Push(HIDEBOX,["Text",math,"\\displaystyle{"+TeX+"}"],SHOWBOX);
QUEUE.Push(
HIDEBOX,
["resetEquationNumbers",MathJax.InputJax.TeX],
["Text",math,"\\displaystyle{"+TeX+"}"],
SHOWBOX
);
}
})();
</script>