One more fix for CommonHTML full-width tables (undoes an incorrect change in 0e9f51f3

This commit is contained in:
Davide P. Cervone 2016-08-22 20:20:29 -04:00
parent b3530d60b1
commit 7ec37f65f0

View File

@ -1755,8 +1755,7 @@
node.parentNode.style.minWidth = this.CHTML.mwidth||CHTML.Em(this.CHTML.w);
node.parentNode.className = "mjx-full-width "+node.parentNode.className;
node.style.width = this.CHTML.pwidth;
}
if (!this.isMultiline && this.Get("display") === "block") {
} else if (!this.isMultiline && this.Get("display") === "block") {
var values = this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");
if (values.indentalignfirst !== MML.INDENTALIGN.INDENTALIGN) values.indentalign = values.indentalignfirst;
if (values.indentalign === MML.INDENTALIGN.AUTO) values.indentalign = CONFIG.displayAlign;