Skip to content

Commit cb13a05

Browse files
committed
Localize a variable that was accidentally global. Resolves problem 2 of #1050.
1 parent 8c9fc21 commit cb13a05

File tree

1 file changed

+2
-2
lines changed
  • unpacked/jax/output/NativeMML

1 file changed

+2
-2
lines changed

unpacked/jax/output/NativeMML/jax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@
12491249
// Some browsers do not implement the mmultiscripts element.
12501250
// Try to emulate the support using basic script elements.
12511251
//
1252-
if (!nMML.mmultiscriptsBug || this.data.length === 0 ) {
1252+
if (!nMML.mmultiscriptsBug || this.data.length === 0) {
12531253
this.SUPER(arguments).toNativeMML.call(this,parent);
12541254
return;
12551255
}
@@ -1267,7 +1267,7 @@
12671267
//
12681268
if (this.data[0]) {this.data[0].toNativeMML(tag)}
12691269
else {tag.appendChild(this.NativeMMLelement("mrow"))}
1270-
base = tag.removeChild(tag.lastChild);
1270+
var base = tag.removeChild(tag.lastChild);
12711271

12721272
//
12731273
// Process the postscript pairs

0 commit comments

Comments
 (0)