mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
fix activating parent note after delete
This commit is contained in:
@@ -102,7 +102,7 @@ async function deleteNodes(nodes) {
|
|||||||
next = nodes[0].getPrevSibling();
|
next = nodes[0].getPrevSibling();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!next && !hoistedNoteService.isTopLevelNode(nodes[0])) {
|
if (!next && !await hoistedNoteService.isTopLevelNode(nodes[0])) {
|
||||||
next = nodes[0].getParent();
|
next = nodes[0].getParent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user