commit b87f15fed543147d0592614373d79418870e5535
parent 0182094a3702d526a44e0141e276b019a1d78ae2
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 14 Jan 2015 11:19:04 -0500
Merge branch 'issue993' into develop. Issue #993.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/unpacked/jax/output/NativeMML/jax.js b/unpacked/jax/output/NativeMML/jax.js
@@ -961,8 +961,9 @@
var mtable = ((this.data[0]||[]).data[0]||{});
if (mtable.nMMLhasLabels) {
if (mtable.nMMLforceWidth || !mtable.nMMLlaMatch) {
- tag.setAttribute("style","width:100%")
+ tag.setAttribute("style","width:100%") // mrow node
parent.style.width = parent.parentNode.style.width="100%";
+ if (annotate) tag.parentNode.setAttribute("style","width:100%"); // semantics node
};
if (mtable.nMMLlaMatch) {
if (parent.parentNode.parentNode.nodeName.toLowerCase() === "div") {