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