One more test for math being removed from the document (Issue 1456).
This commit is contained in:
parent
470d97c494
commit
d3eec1386a
|
@ -502,6 +502,7 @@
|
||||||
//
|
//
|
||||||
var jax = script.MathJax.elementJax, math = jax.root,
|
var jax = script.MathJax.elementJax, math = jax.root,
|
||||||
node = document.getElementById(jax.inputID+"-Frame");
|
node = document.getElementById(jax.inputID+"-Frame");
|
||||||
|
if (!node) return;
|
||||||
this.getMetrics(jax);
|
this.getMetrics(jax);
|
||||||
if (this.scale !== 1) node.style.fontSize = jax.CHTML.fontSize;
|
if (this.scale !== 1) node.style.fontSize = jax.CHTML.fontSize;
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue
Block a user