commit f1b4a178c0dad23589f96163aeffe8fcdf1b9599
parent a1460f8993abe5ff3ed970ad97cc77215bf52f81
Author: Davide P. Cervone <dpvc@union.edu>
Date: Mon, 14 Dec 2015 11:35:57 -0500
Fix multiply defined var's as discovered by yuicompressor.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/output/SVG/autoload/mtable.js b/unpacked/jax/output/SVG/autoload/mtable.js
@@ -334,7 +334,7 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
var labelspace = SVG.length2em(values.minlabelspacing,mu,SVG.cwidth);
var labelW = labelspace + C[LABEL].w, labelshift = 0, tw = svg.w;
var dIndent = SVG.length2em(this.displayIndent,mu,SVG.cwidth);
- var s = (CALIGN[LABEL] === MML.INDENTALIGN.RIGHT ? -1 : 1);
+ s = (CALIGN[LABEL] === MML.INDENTALIGN.RIGHT ? -1 : 1);
if (indent.indentalign === MML.INDENTALIGN.CENTER) {
var dx = (SVG.cwidth-tw)/2; shift += dIndent;
if (labelW + s*labelshift > dx + s*shift) {