Skip to content

Build your personal knowledge base with Trilium Notes

removed unused methods

azivnercf84114f9125
diff --git a/public/javascripts/note_tree.js b/public/javascripts/note_tree.js
index 57c93e1f90..256470854f 100644
--- a/public/javascripts/note_tree.js
+++ b/public/javascripts/note_tree.js
@@ -60,23 +60,6 @@ const noteTree = (function() {
return treeUtils.getNotePath(node);
}
- function getCurrentNoteId() {
- const node = getCurrentNode();
-
- return node ? node.data.note_id : null;
- }
-
- function getCurrentClones() {
- const noteId = getCurrentNoteId();
-
- if (noteId) {
- return getNodesByNoteId(noteId);
- }
- else {
- return [];
- }
- }
-
function getNodesByNoteTreeId(noteTreeId) {
assertArguments(noteTreeId);