Skip to content

Build your personal knowledge base with Trilium Notes

refactor(note_tree): drop the Bootstrap dropdown hide on activate

Elian Doran7ceb8336a70f
diff --git a/apps/client/src/widgets/note_tree.ts b/apps/client/src/widgets/note_tree.ts
index ccf7e404ae..6f37b17995 100644
--- a/apps/client/src/widgets/note_tree.ts
+++ b/apps/client/src/widgets/note_tree.ts
@@ -488,9 +488,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
return true;
},
activate: async (event, data) => {
- // hide all dropdowns, fix calendar widget dropdown doesn't close when click on a note
- $('.dropdown-menu').parent('.dropdown').find('[data-bs-toggle="dropdown"]').dropdown('hide');
-
this.clearSelectedNodes();
const notePath = treeService.getNotePath(data.node);