diff --git a/test/sample-dynamic.html b/test/sample-dynamic.html index 24357fa7a..460c1cdb2 100644 --- a/test/sample-dynamic.html +++ b/test/sample-dynamic.html @@ -59,17 +59,6 @@ input {margin-top: .7em} window.UpdateMath = function (TeX) { QUEUE.Push(HIDEBOX,["Text",math,"\\displaystyle{"+TeX+"}"],SHOWBOX); } - - // - // IE doesn't fire onchange events for RETURN, so - // use onkeypress to do a blur (and refocus) to - // force the onchange to occur - // - if (MathJax.Hub.Browser.isMSIE) { - window.MathInput.onkeypress = function () { - if (window.event && window.event.keyCode === 13) {this.blur(); this.focus()} - } - } })(); @@ -83,5 +72,18 @@ Type some \(\rm\TeX\) code and press RETURN:
$${}$$
+ +