Make sure CHTML zoom has access to the proper container

This commit is contained in:
Davide P. Cervone 2015-10-17 06:01:03 -04:00
parent b679e7e4df
commit c68c690468

View File

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