From 898f3717a49633247b11fe3d0a2eaf837dbba888 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Mon, 11 Jul 2016 10:12:06 -0400 Subject: [PATCH] Fix typo in commit 3ee5ca3. Resolves issue #1363 for CommonHTML --- unpacked/jax/output/CommonHTML/jax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js index a0434c3cd..5dcc972f3 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -473,9 +473,9 @@ // for (i = 0; i < m; i++) { script = scripts[i]; if (!script.parentNode) continue; - test = scripts.previousSibling; + test = script.previousSibling; span = test.previousSibling; - jax = scripts.MathJax.elementJax; if (!jax) continue; + jax = script.MathJax.elementJax; if (!jax) continue; span.parentNode.removeChild(span); test.parentNode.removeChild(test); if (script.MathJax.preview) script.MathJax.preview.style.display = "";