From 1baf3e564e7f8763ca5b695f23744104adaa60e7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 2 Jan 2025 16:05:26 +0800 Subject: [PATCH] bugfix --- bricks/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));