Localize a variable that was accidentally global. Resolves problem 2 of #1050.

This commit is contained in:
Davide P. Cervone 2015-02-09 16:16:30 -05:00
parent 8c9fc2122b
commit cb13a059bb

View File

@ -1249,7 +1249,7 @@
// Some browsers do not implement the mmultiscripts element. // Some browsers do not implement the mmultiscripts element.
// Try to emulate the support using basic script elements. // Try to emulate the support using basic script elements.
// //
if (!nMML.mmultiscriptsBug || this.data.length === 0 ) { if (!nMML.mmultiscriptsBug || this.data.length === 0) {
this.SUPER(arguments).toNativeMML.call(this,parent); this.SUPER(arguments).toNativeMML.call(this,parent);
return; return;
} }
@ -1267,7 +1267,7 @@
// //
if (this.data[0]) {this.data[0].toNativeMML(tag)} if (this.data[0]) {this.data[0].toNativeMML(tag)}
else {tag.appendChild(this.NativeMMLelement("mrow"))} else {tag.appendChild(this.NativeMMLelement("mrow"))}
base = tag.removeChild(tag.lastChild); var base = tag.removeChild(tag.lastChild);
// //
// Process the postscript pairs // Process the postscript pairs