fix tree walker on YXmlFragment
This commit is contained in:
parent
85492ad2e0
commit
d61bbecf4e
@ -55,7 +55,7 @@ class YXmlTreeWalker {
|
||||
}
|
||||
}
|
||||
do {
|
||||
if (!n._deleted && n.constructor === YXmlFragment._YXmlElement && n._start !== null) {
|
||||
if (!n._deleted && (n.constructor === YXmlFragment._YXmlElement || n.constructor === YXmlFragment) && n._start !== null) {
|
||||
// walk down in the tree
|
||||
n = n._start
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user