Don't show attributes that don't have default values (e.g., open/close for mrow).
This commit is contained in:
parent
bdd370b037
commit
91875b3558
|
@ -499,8 +499,10 @@
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
for (var i = 0, m = copy.length; i < m; i++) {
|
for (var i = 0, m = copy.length; i < m; i++) {
|
||||||
var value = (this.attr||{})[copy[i]]; if (value == null) {value = this[copy[i]]}
|
if (defaults.hasOwnProperty(copy[i])) {
|
||||||
if (value != null) {tag.setAttribute(copy[i],this.NativeMMLattribute(value))}
|
var value = (this.attr||{})[copy[i]]; if (value == null) {value = this[copy[i]]}
|
||||||
|
if (value != null) {tag.setAttribute(copy[i],this.NativeMMLattribute(value))}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
this.NativeMMLclass(tag);
|
this.NativeMMLclass(tag);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user