item: increase parent length only if parentSub=null
This commit is contained in:
parent
582095e5a3
commit
3d70eee959
@ -441,7 +441,7 @@ export class Item {
|
||||
}
|
||||
}
|
||||
// adjust the length of parent
|
||||
if (parent.length !== undefined && this._countable) {
|
||||
if (parentSub === null && parent.length !== undefined && this._countable) {
|
||||
parent.length += this._length
|
||||
}
|
||||
if (parent._deleted) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user