fix activating parent note after delete

pull/255/head
zadam 2019-06-27 22:58:04 +07:00
parent cf3726289c
commit 2a9f36a027
1 changed files with 1 additions and 1 deletions

@ -102,7 +102,7 @@ async function deleteNodes(nodes) {
next = nodes[0].getPrevSibling();
}
if (!next && !hoistedNoteService.isTopLevelNode(nodes[0])) {
if (!next && !await hoistedNoteService.isTopLevelNode(nodes[0])) {
next = nodes[0].getParent();
}