We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba22166 commit 38a9a12Copy full SHA for 38a9a12
unpacked/jax/output/CommonHTML/jax.js
@@ -2602,6 +2602,7 @@
2602
2603
MML.mrow.Augment({
2604
toCommonHTML: function (node,options) {
2605
+ options = options || {};
2606
node = this.CHTMLdefaultNode(node);
2607
var bbox = this.CHTML, H = bbox.h, D = bbox.d, hasNegative;
2608
for (var i = 0, m = this.data.length; i < m; i++) {
@@ -2610,7 +2611,7 @@
2610
2611
}
2612
if (this.CHTMLlineBreaks()) {
2613
this.CHTMLmultiline(node);
- if ((options||{}).autowidth) node.style.width = "";
2614
+ if (options.autowidth) node.style.width = "";
2615
} else {
2616
if (hasNegative && bbox.w) node.style.width = CHTML.Em(Math.max(0,bbox.w));
2617
if (bbox.w < 0) node.style.marginRight = CHTML.Em(bbox.w);
0 commit comments