One more test for math being removed from the document (Issue 1456).

This commit is contained in:
Davide P. Cervone 2016-08-15 15:51:42 -04:00
parent 470d97c494
commit d3eec1386a

View File

@ -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;
// //