commit 12bb8ef92ab20913fc15b3ae917d00f19f1081e8
parent b9863ce6ec2f4155c218b2ae08de8ce916c610d1
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 22 May 2013 15:08:22 -0400
Merge remote-tracking branch 'dpvc/issue468' into v2.2-latest
Resolves issue #468
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/unpacked/jax/output/HTML-CSS/autoload/mtable.js b/unpacked/jax/output/HTML-CSS/autoload/mtable.js
@@ -25,7 +25,7 @@
*/
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
- var VERSION = "2.2";
+ var VERSION = "2.2.1";
var MML = MathJax.ElementJax.mml,
HTMLCSS = MathJax.OutputJax["HTML-CSS"];
@@ -76,8 +76,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
HD = bbox.h + bbox.d;
if (HD) {
min = HTMLCSS.length2em(min,mu,HD);
- if (min*bbox.h/HD > H[j]) {H[j] = min*bbox.h/HD}
- if (min*bbox.d/HD > D[j]) {D[j] = min*bbox.d/HD}
+ if (min*bbox.h/HD > H[i]) {H[i] = min*bbox.h/HD}
+ if (min*bbox.d/HD > D[i]) {D[i] = min*bbox.d/HD}
}
} else if (mo.HTMLcanStretch("Horizontal")) {
min = HTMLCSS.length2em(min,mu,bbox.w);