commit a84763522d22bb41ed377bc3321a70361bacd875 parent d3be78023d758aa164404db9b047efe83f2ccdef Author: Frédéric Wang <fred.wang@free.fr> Date: Wed, 26 Dec 2012 19:41:10 +0100 mmultiscripts: take into account the <none/> case (probably need a better selection of sscale) Diffstat:
| M | unpacked/jax/output/HTML-CSS/autoload/mmultiscripts.js | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/unpacked/jax/output/HTML-CSS/autoload/mmultiscripts.js b/unpacked/jax/output/HTML-CSS/autoload/mmultiscripts.js @@ -46,7 +46,8 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { var sub = BOX[0], sup = BOX[1], presub = BOX[2], presup = BOX[3]; var sscale; - if (this.data[1] && this.data[1].type !== "mprescripts") { + if (this.data[1] && this.data[1].type != "mprescripts" && + this.data[1].type != "none") { sscale = this.data[1].HTMLgetScale(); } else { sscale = this.HTMLgetScale();