Check to make sure element is in the page before processing it.
This commit is contained in:
parent
0e9f51f39e
commit
d8a85a0891
|
@ -685,7 +685,7 @@
|
|||
//
|
||||
var jax = script.MathJax.elementJax, math = jax.root,
|
||||
div = jax.HTMLCSS.div, span = jax.HTMLCSS.span;
|
||||
if (!div) return;
|
||||
if (!document.getElementById(span.id)) return;
|
||||
//
|
||||
// Set the font metrics
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user