mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
more refactoring ...
This commit is contained in:
@@ -138,6 +138,8 @@ class TabContext {
|
||||
|
||||
// after loading new note make sure editor is scrolled to the top
|
||||
this.getComponent().scrollToTop();
|
||||
|
||||
appContext.trigger('activeNoteChanged');
|
||||
}
|
||||
|
||||
async show() {
|
||||
@@ -175,9 +177,6 @@ class TabContext {
|
||||
|
||||
this.$noteDetailComponents.hide();
|
||||
|
||||
this.$noteTitle.show(); // this can be hidden by empty detail
|
||||
this.$noteTitle.removeAttr("readonly"); // this can be set by protected session service
|
||||
|
||||
this.getComponent().show();
|
||||
await this.getComponent().render();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user