Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix focusing tree from note detail, closes #1897
zadamf22c76d9fb75
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.jsindex 961053d44f..a1dcc129ba 100644--- a/src/public/app/widgets/note_tree.js+++ b/src/public/app/widgets/note_tree.js@@ -813,6 +813,7 @@ export default class NoteTreeWidget extends TabAwareWidget {const activeContext = appContext.tabManager.getActiveTabContext();if (activeContext && activeContext.notePath) {+ this.tree.$container.focus();this.tree.setFocus(true);const node = await this.expandToNote(activeContext.notePath);