This commit is contained in:
yumoqing 2024-10-28 18:10:55 +08:00
parent f85081f02e
commit 17057bc979

View File

@ -69,7 +69,7 @@ bricks.Popup = class extends bricks.VBox {
} }
} }
this.set_style('top',lt.top); this.set_style('top',lt.top);
thos.set_style('left',lt.left); this.set_style('left',lt.left);
this.set_style('display', 'block'); this.set_style('display', 'block');
if (this.timeout > 0){ if (this.timeout > 0){
this.auto_task = schedule_once(this.auto_dismiss.bind(this), this.timeout) this.auto_task = schedule_once(this.auto_dismiss.bind(this), this.timeout)