mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
more refactoring ...
This commit is contained in:
@@ -98,8 +98,8 @@ export default class NoteTitleWidget extends TabAwareWidget {
|
||||
this.tree = null;
|
||||
}
|
||||
|
||||
async doRender($widget) {
|
||||
$widget.append($(TPL));
|
||||
doRender() {
|
||||
const $widget = $(TPL);
|
||||
|
||||
this.$noteTitle = this.$tabContent.find(".note-title");
|
||||
this.$noteTitleRow = this.$tabContent.find(".note-title-row");
|
||||
@@ -140,6 +140,8 @@ export default class NoteTitleWidget extends TabAwareWidget {
|
||||
return false; // to not propagate the enter into the editor (causes issues with codemirror)
|
||||
});
|
||||
}
|
||||
|
||||
return $widget;
|
||||
}
|
||||
|
||||
async activeTabChanged() {
|
||||
|
||||
Reference in New Issue
Block a user