Skip to content

Commit af20e4c

Browse files
committed
Merge branch 'issue949' into develop. Issue #949.
2 parents 8d6ffcc + dac51a9 commit af20e4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpacked/jax/output/SVG/autoload/multiline.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
473473
//
474474
if (end.length === 0) {
475475
var sup = this.data[this.sup], sub = this.data[this.sub], w = svg.w, data;
476-
if (sup) {data = sup.SVGdata; svg.Add(sup.toSVG(),w+(data.dx||0),data.dy)}
477-
if (sub) {data = sub.SVGdata; svg.Add(sub.toSVG(),w+(data.dx||0),data.dy)}
476+
if (sup) {data = sup.SVGdata||{}; svg.Add(sup.toSVG(),w+(data.dx||0),data.dy)}
477+
if (sub) {data = sub.SVGdata||{}; svg.Add(sub.toSVG(),w+(data.dx||0),data.dy)}
478478
}
479479
}
480480

0 commit comments

Comments
 (0)