mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
link map widget always rendered centered map
This commit is contained in:
@@ -18,8 +18,7 @@ const WIDGET_TPL = `
|
||||
<div id="[to be set]" class="collapse body-wrapper" style="transition: none; ">
|
||||
<div class="card-body"></div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
</div>`;
|
||||
|
||||
export default class CollapsibleWidget extends TabAwareWidget {
|
||||
getWidgetTitle() { return "Untitled widget"; }
|
||||
@@ -68,10 +67,10 @@ export default class CollapsibleWidget extends TabAwareWidget {
|
||||
this.$headerActions = this.$widget.find('.widget-header-actions');
|
||||
this.$headerActions.append(...this.getHeaderActions());
|
||||
|
||||
this.decorateWidget();
|
||||
|
||||
this.initialized = this.doRenderBody();
|
||||
|
||||
this.decorateWidget();
|
||||
|
||||
return this.$widget;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user