kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Check for dom node not found
rodzic
0932c15e5c
commit
403a460002
|
@ -434,7 +434,9 @@ if(index === -1) {
|
|||
var grandParent = parent.parentWidget;
|
||||
if(grandParent && parent.parentDomNode === this.parentDomNode) {
|
||||
index = grandParent.children.indexOf(parent);
|
||||
return parent.findNextSiblingDomNode(index);
|
||||
if(index !== -1) {
|
||||
return parent.findNextSiblingDomNode(index);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue