commit 52ba4e6fa9fc2f667c393aad9502d32ee0189940
parent 0a4da7e3b4665830a49dcae82d7d8b868c7aaaee
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 26 Aug 2015 17:23:58 -0400
Fix default value for minlabelspacing (failed if unitless values were used)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/output/CommonHTML/autoload/mtable.js b/unpacked/jax/output/CommonHTML/autoload/mtable.js
@@ -435,7 +435,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
if (indent.indentshiftfirst !== MML.INDENTSHIFT.INDENTSHIFT) indent.indentshift = indent.indentshiftfirst;
if (indent.indentshift === "auto") indent.indentshift = "0";
var shift = this.CHTMLlength2em(indent.indentshift,CHTML.cwidth);
- var labelspace = this.CHTMLlength2em(values.minlabelspacing,this.defaults.minlabelspacing);
+ var labelspace = this.CHTMLlength2em(values.minlabelspacing,.8);
var labelW = labelspace + state.W[LABEL], labelshift = 0, tw = state.R;
var dIndent = this.CHTMLlength2em(CONFIG.displayIndent,CHTML.cwidth);
var s = (state.CALIGN[LABEL] === MML.INDENTALIGN.RIGHT ? -1 : 1);