commit c68c6904682b01bdf54aba68cf0b76688445d602
parent b679e7e4dfa371707f74aa95b6a6ceb067476f71
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 17 Oct 2015 06:01:03 -0400
Make sure CHTML zoom has access to the proper container
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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