Make HTML-CSS and SVG output jax remove properly handle the Processed class when removing the previous results after a restart
This commit is contained in:
parent
f886be9260
commit
5812cbcb9b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -449,7 +449,7 @@
|
|||
// Remove any existing output
|
||||
//
|
||||
prev = script.previousSibling;
|
||||
if (prev && String(prev.className).match(/^MathJax(_Display)?$/))
|
||||
if (prev && String(prev.className).match(/^MathJax(_Display)?( MathJax_Processing)?$/))
|
||||
{prev.parentNode.removeChild(prev)}
|
||||
//
|
||||
// Add the span, and a div if in display mode,
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
// Remove any existing output
|
||||
//
|
||||
prev = script.previousSibling;
|
||||
if (prev && String(prev.className).match(/^MathJax(_SVG)?(_Display)?$/))
|
||||
if (prev && String(prev.className).match(/^MathJax(_SVG)?(_Display)?( MathJax(_SVG)?_Processing)?$/))
|
||||
{prev.parentNode.removeChild(prev)}
|
||||
//
|
||||
// Add the span, and a div if in display mode,
|
||||
|
|
Loading…
Reference in New Issue
Block a user