bugfix
This commit is contained in:
parent
2de2d89fdf
commit
296a4ae341
@ -10,7 +10,7 @@ bricks.Popup = class extends bricks.VBox {
|
||||
auto_dismiss:
|
||||
*/
|
||||
constructor(opts){
|
||||
super();
|
||||
super(opts);
|
||||
this.auto_task = null;
|
||||
this.issub = false;
|
||||
this.set_css('popup');
|
||||
@ -18,7 +18,7 @@ bricks.Popup = class extends bricks.VBox {
|
||||
this.set_style('zIndex', zindex);
|
||||
}
|
||||
add_widget(w, index){
|
||||
super().add_widget(w, index);
|
||||
super.add_widget(w, index);
|
||||
if (this.auto_open){
|
||||
this.open();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user