commit af20e4cc1d6b3bc57f225cda427829e6c9c3c231
parent 8d6ffccb163caaf7c2888868c215f22e8b76847b
Author: Davide P. Cervone <dpvc@union.edu>
Date: Wed, 14 Jan 2015 11:19:48 -0500
Merge branch 'issue949' into develop. Issue #949.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/unpacked/jax/output/SVG/autoload/multiline.js b/unpacked/jax/output/SVG/autoload/multiline.js
@@ -473,8 +473,8 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
//
if (end.length === 0) {
var sup = this.data[this.sup], sub = this.data[this.sub], w = svg.w, data;
- if (sup) {data = sup.SVGdata; svg.Add(sup.toSVG(),w+(data.dx||0),data.dy)}
- if (sub) {data = sub.SVGdata; svg.Add(sub.toSVG(),w+(data.dx||0),data.dy)}
+ if (sup) {data = sup.SVGdata||{}; svg.Add(sup.toSVG(),w+(data.dx||0),data.dy)}
+ if (sub) {data = sub.SVGdata||{}; svg.Add(sub.toSVG(),w+(data.dx||0),data.dy)}
}
}