bugfix
This commit is contained in:
parent
56c45a6cd2
commit
640350960a
@ -38,10 +38,10 @@ bricks.Popup = class extends bricks.VBox {
|
||||
open(){
|
||||
var rect;
|
||||
var w;
|
||||
if (this.widget isinstanceof bricks.Widget){
|
||||
if (this.widget instanceof bricks.Widget){
|
||||
rect = this.widget.showRectage()
|
||||
this.issub = true;
|
||||
} else if (this.widget isinstanceof String){
|
||||
} else if (this.widget instanceof String){
|
||||
var w = bricks.getWidgetById(this.widget, bricks.Body);
|
||||
if (!w){
|
||||
ithis.issub = true
|
||||
|
Loading…
Reference in New Issue
Block a user