commit abab9db28e0591b385cbc5df7faf2042aaa5c15a
parent ecbfb344c3092b48f089b8b2ac360fa9dfe0739c
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 28 Oct 2015 14:48:25 -0400
Merge pull request #1292 from mathjax/pkra-eqreset
Update test/sample-dynamic.html
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/test/sample-dynamic.html b/test/sample-dynamic.html
@@ -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>