mmultiscripts: take into account the <none/> case (probably need a better selection of sscale)

This commit is contained in:
Frédéric Wang 2012-12-26 19:41:10 +01:00
parent d3be78023d
commit a84763522d

View File

@ -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();