From f85081f02ebe0a6fa1a7fc0c5ac31c07da0f4fcf Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 28 Oct 2024 17:54:17 +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 d5404e7..42fc847 100644 --- a/bricks/popup.js +++ b/bricks/popup.js @@ -46,7 +46,7 @@ bricks.Popup = class extends bricks.VBox { open(){ var rect; - if (this.widget instanceof bricks.Widget){ + if (this.widget instanceof bricks.JsWidget){ rect = this.widget.showRectage() this.issub = true; } else if (this.widget instanceof String){