From 70a78850a3a6352b707e036a0506328cbd4f08a8 Mon Sep 17 00:00:00 2001 From: Peter Krautzberger Date: Wed, 28 Oct 2015 16:09:59 +0100 Subject: [PATCH] Update sample-dynamic.html Address review comments --- test/sample-dynamic.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/sample-dynamic.html b/test/sample-dynamic.html index e9d275f25..c8dffed68 100644 --- a/test/sample-dynamic.html +++ b/test/sample-dynamic.html @@ -53,8 +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); - MathJax.Hub.Queue(["resetEquationNumbers",MathJax.InputJax.TeX]); + QUEUE.Push( + HIDEBOX, + ["resetEquationNumbers",MathJax.InputJax.TeX], + ["Text",math,"\\displaystyle{"+TeX+"}"], + SHOWBOX + ); } })();