mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
fixes for invalid operations on root note
This commit is contained in:
@@ -105,7 +105,7 @@ const keyBindings = {
|
||||
return false;
|
||||
},
|
||||
"backspace": node => {
|
||||
if (!utils.isTopLevelNode(node)) {
|
||||
if (!utils.isRootNode(node)) {
|
||||
node.getParent().setActive().then(treeService.clearSelectedNodes);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user