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){