bugfix
This commit is contained in:
parent
848225ac45
commit
884f45fc81
@ -383,7 +383,7 @@ bricks.Popup = class extends bricks.VBox {
|
||||
}
|
||||
this.opened = false;
|
||||
if (this.auto_task){
|
||||
this.auto_task.cancel();
|
||||
setTimeout(this.auto_task);
|
||||
this.auto_task = null;
|
||||
}
|
||||
this.set_style('display','none');
|
||||
|
||||
@ -55,7 +55,7 @@ bricks.Signaling = class {
|
||||
reconnect(){
|
||||
console.log('eror happened');
|
||||
if (this.hb_task){
|
||||
this.hb_task.cancel();
|
||||
clearInterval(this.hb_task);
|
||||
this.hb_task = null;
|
||||
}
|
||||
if (this.onclose){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user