diff --git a/bricks/popup.js b/bricks/popup.js index c1a28ac..ff77367 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -50,7 +50,7 @@ bricks.Popup = class extends bricks.VBox { } } async load_content(){ - var w = bricks.widgetBuild(this.content, this); + var w = await bricks.widgetBuild(this.content, this); if (w){ if (this.content.dismiss_event){ w.bind(this.content.dismiss_event, this.distroy.bind(this));