Merge pull request #1292 from mathjax/pkra-eqreset
Update test/sample-dynamic.html
This commit is contained in:
commit
abab9db28e
|
@ -53,7 +53,12 @@ input {margin-top: .7em}
|
||||||
// so we don't see a flash as the math is cleared and replaced.
|
// so we don't see a flash as the math is cleared and replaced.
|
||||||
//
|
//
|
||||||
window.UpdateMath = function (TeX) {
|
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>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user