From d3eec1386a034ddf1742e128dc2c613781bfde1f Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 15 Aug 2016 15:51:42 -0400 Subject: [PATCH] One more test for math being removed from the document (Issue 1456). --- unpacked/jax/output/CommonHTML/jax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index 6a3f82bbb..707999c31 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -502,6 +502,7 @@ // var jax = script.MathJax.elementJax, math = jax.root, node = document.getElementById(jax.inputID+"-Frame"); + if (!node) return; this.getMetrics(jax); if (this.scale !== 1) node.style.fontSize = jax.CHTML.fontSize; //