Skip to content

Commit 12bb8ef

Browse files
committed
Merge remote-tracking branch 'dpvc/issue468' into v2.2-latest
Resolves issue #468
2 parents b9863ce + bf14e19 commit 12bb8ef

File tree

1 file changed

+3
-3
lines changed
  • unpacked/jax/output/HTML-CSS/autoload

1 file changed

+3
-3
lines changed

unpacked/jax/output/HTML-CSS/autoload/mtable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626

2727
MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
28-
var VERSION = "2.2";
28+
var VERSION = "2.2.1";
2929
var MML = MathJax.ElementJax.mml,
3030
HTMLCSS = MathJax.OutputJax["HTML-CSS"];
3131

@@ -76,8 +76,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
7676
HD = bbox.h + bbox.d;
7777
if (HD) {
7878
min = HTMLCSS.length2em(min,mu,HD);
79-
if (min*bbox.h/HD > H[j]) {H[j] = min*bbox.h/HD}
80-
if (min*bbox.d/HD > D[j]) {D[j] = min*bbox.d/HD}
79+
if (min*bbox.h/HD > H[i]) {H[i] = min*bbox.h/HD}
80+
if (min*bbox.d/HD > D[i]) {D[i] = min*bbox.d/HD}
8181
}
8282
} else if (mo.HTMLcanStretch("Horizontal")) {
8383
min = HTMLCSS.length2em(min,mu,bbox.w);

0 commit comments

Comments
 (0)