Make childCore use data[0].Core() if there is an inferred row (so that it matches Parent() in skipping inferred rows). Resolves issue #1231.
This commit is contained in:
parent
8c2ed0c91c
commit
4c06d67673
|
@ -409,7 +409,7 @@ MathJax.ElementJax.mml.Augment({
|
||||||
},
|
},
|
||||||
array: function () {if (this.inferred) {return this.data} else {return [this]}},
|
array: function () {if (this.inferred) {return this.data} else {return [this]}},
|
||||||
toString: function () {return this.type+"("+this.data.join(",")+")"},
|
toString: function () {return this.type+"("+this.data.join(",")+")"},
|
||||||
getAnnotation: function () { return null; }
|
getAnnotation: function () {return null}
|
||||||
},{
|
},{
|
||||||
childrenSpacelike: function () {
|
childrenSpacelike: function () {
|
||||||
for (var i = 0, m = this.data.length; i < m; i++)
|
for (var i = 0, m = this.data.length; i < m; i++)
|
||||||
|
@ -419,7 +419,7 @@ MathJax.ElementJax.mml.Augment({
|
||||||
childEmbellished: function () {
|
childEmbellished: function () {
|
||||||
return (this.data[0] && this.data[0].isEmbellished());
|
return (this.data[0] && this.data[0].isEmbellished());
|
||||||
},
|
},
|
||||||
childCore: function () {return this.data[0]},
|
childCore: function () {return (this.inferRow && this.data[0] ? this.data[0].Core() : this.data[0])},
|
||||||
childCoreMO: function () {return (this.data[0] ? this.data[0].CoreMO() : null)},
|
childCoreMO: function () {return (this.data[0] ? this.data[0].CoreMO() : null)},
|
||||||
setChildTeXclass: function (prev) {
|
setChildTeXclass: function (prev) {
|
||||||
if (this.data[0]) {
|
if (this.data[0]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user