Update sample-dynamic.html
Address review comments
This commit is contained in:
parent
5bed91bbcd
commit
70a78850a3
|
@ -53,8 +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(
|
||||||
MathJax.Hub.Queue(["resetEquationNumbers",MathJax.InputJax.TeX]);
|
HIDEBOX,
|
||||||
|
["resetEquationNumbers",MathJax.InputJax.TeX],
|
||||||
|
["Text",math,"\\displaystyle{"+TeX+"}"],
|
||||||
|
SHOWBOX
|
||||||
|
);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user