mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
work on hash & history
This commit is contained in:
@@ -103,8 +103,6 @@ async function deleteNodes(nodes) {
|
||||
if (next) {
|
||||
// activate next element after this one is deleted so we don't lose focus
|
||||
next.setActive();
|
||||
|
||||
treeService.setCurrentNotePathToHash(next);
|
||||
}
|
||||
|
||||
await treeService.loadTreeCache();
|
||||
@@ -163,8 +161,6 @@ async function changeNode(func, node, beforeNoteId = null, afterNoteId = null) {
|
||||
|
||||
await treeCache.moveNote(childNoteId, thisOldParentNode.data.noteId, thisNewParentNode.data.noteId, beforeNoteId, afterNoteId);
|
||||
|
||||
treeService.setCurrentNotePathToHash(node);
|
||||
|
||||
await treeService.checkFolderStatus(thisOldParentNode);
|
||||
await treeService.checkFolderStatus(thisNewParentNode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user