www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit b9e3761714f04ba605f4644244ea58f990e7b640
parent 7aead8633954f50d88dece947b4a698ab9de12ef
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon, 13 Apr 2015 18:03:10 -0400

Merge branch 'issue1139' into hotfix-2.5.2.  Issue #1139.

Diffstat:
Munpacked/jax/output/HTML-CSS/autoload/annotation-xml.js | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/unpacked/jax/output/HTML-CSS/autoload/annotation-xml.js b/unpacked/jax/output/HTML-CSS/autoload/annotation-xml.js @@ -48,9 +48,11 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { toHTML: function (span,encoding) { for (var i = 0, m = this.data.length; i < m; i++) {span.appendChild(this.data[i].cloneNode(true))} - span.bbox.w = HTMLCSS.getW(span); span.bbox.rw = span.bbox.w; + var bbox = span.bbox; span.bbox = null; + bbox.rw = bbox.w = HTMLCSS.getW(span); var HD = HTMLCSS.getHD(span); - span.bbox.h = HD.h; span.bbox.d = HD.d; + bbox.h = HD.h; bbox.d = HD.d; + span.bbox = bbox; } });