Update sample-dynamic.html

Add reset for equations counters.
This commit is contained in:
Peter Krautzberger 2015-10-28 15:35:57 +01:00
parent ecbfb344c3
commit 5bed91bbcd

View File

@ -54,6 +54,7 @@ input {margin-top: .7em}
// //
window.UpdateMath = function (TeX) { window.UpdateMath = function (TeX) {
QUEUE.Push(HIDEBOX,["Text",math,"\\displaystyle{"+TeX+"}"],SHOWBOX); QUEUE.Push(HIDEBOX,["Text",math,"\\displaystyle{"+TeX+"}"],SHOWBOX);
MathJax.Hub.Queue(["resetEquationNumbers",MathJax.InputJax.TeX]);
} }
})(); })();
</script> </script>