Skip to content

Commit f6c72b4

Browse files
committed
Be sure to remove all previous output in HTML-CSS jax.
1 parent 624572a commit f6c72b4

File tree

1 file changed

+1
-1
lines changed
  • unpacked/jax/output/HTML-CSS

1 file changed

+1
-1
lines changed

unpacked/jax/output/HTML-CSS/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@
578578
// Remove any existing output
579579
//
580580
prev = script.previousSibling;
581-
if (prev && String(prev.className).match(/^MathJax(_Display)?( MathJax_Processing)?$/))
581+
if (prev && String(prev.className).match(/^MathJax(_Display)?( MathJax_Process(ing|ed))?$/))
582582
{prev.parentNode.removeChild(prev)}
583583
if (script.MathJax.preview) script.MathJax.preview.style.display = "none";
584584
//

0 commit comments

Comments
 (0)