mmultiscripts: take into account the <none/> case (probably need a better selection of sscale)
This commit is contained in:
parent
d3be78023d
commit
a84763522d
|
@ -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 sub = BOX[0], sup = BOX[1], presub = BOX[2], presup = BOX[3];
|
||||||
|
|
||||||
var sscale;
|
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();
|
sscale = this.data[1].HTMLgetScale();
|
||||||
} else {
|
} else {
|
||||||
sscale = this.HTMLgetScale();
|
sscale = this.HTMLgetScale();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user