mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
smaller fixes
This commit is contained in:
@@ -79,19 +79,12 @@ class StandardWidget extends TabAwareWidget {
|
||||
this.$headerActions = this.$widget.find('.widget-header-actions');
|
||||
this.$headerActions.append(...this.getHeaderActions());
|
||||
|
||||
// actual rendering is async
|
||||
this.renderBody();
|
||||
this.initialized = this.renderBody();
|
||||
|
||||
return this.$widget;
|
||||
}
|
||||
|
||||
async renderBody() {
|
||||
// if (!this.isExpanded() || this.rendered) {
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// this.rendered = true;
|
||||
|
||||
await this.doRenderBody();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user