Merge pull request #399 from thecodingmachine/fix/cowebsite
FIX: close the coWebSite on network error
This commit is contained in:
commit
a14e227706
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ class CoWebsiteManager {
|
|||
setTimeout(() => {
|
||||
this.fire();
|
||||
}, animationTime)
|
||||
});
|
||||
}).catch(() => this.closeCoWebsite());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -70,7 +70,7 @@ class CoWebsiteManager {
|
|||
setTimeout(() => {
|
||||
this.fire();
|
||||
}, animationTime)
|
||||
});
|
||||
}).catch(() => this.closeCoWebsite());
|
||||
}
|
||||
|
||||
public closeCoWebsite(): Promise<void> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue