From c68c6904682b01bdf54aba68cf0b76688445d602 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sat, 17 Oct 2015 06:01:03 -0400 Subject: [PATCH] Make sure CHTML zoom has access to the proper container --- 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 6bdd11e82..2043db68d 100644 --- a/unpacked/jax/output/CommonHTML/jax.js +++ b/unpacked/jax/output/CommonHTML/jax.js @@ -600,6 +600,7 @@ // this.getMetrics(jax); var node = CHTML.addElement(span,"mjx-chtml",{style:{"font-size":Math.floor(CHTML.scale*100)+"%"},isMathJax:false}); + CHTML.CHTMLnode = node; this.idPostfix = "-zoom"; jax.root.toCommonHTML(node); this.idPostfix = ""; // // Adjust margins to prevent overlaps at the edges