Skip to content

Commit d3eec13

Browse files
committed
One more test for math being removed from the document (Issue 1456).
1 parent 470d97c commit d3eec13

File tree

1 file changed

+1
-0
lines changed
  • unpacked/jax/output/CommonHTML

1 file changed

+1
-0
lines changed

unpacked/jax/output/CommonHTML/jax.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@
502502
//
503503
var jax = script.MathJax.elementJax, math = jax.root,
504504
node = document.getElementById(jax.inputID+"-Frame");
505+
if (!node) return;
505506
this.getMetrics(jax);
506507
if (this.scale !== 1) node.style.fontSize = jax.CHTML.fontSize;
507508
//

0 commit comments

Comments
 (0)