prevent base64ZipDialog from closing when ws disconnects
This commit is contained in:
parent
6bc1bcf743
commit
469d3f6ec8
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class ServerConnection {
|
|||
|
||||
_onPairDeviceJoin(roomKey) {
|
||||
if (!this._isConnected()) {
|
||||
setTimeout(_ => this._onPairDeviceJoin(roomKey), 1000);
|
||||
setTimeout(_ => this._onPairDeviceJoin(roomKey), 5000);
|
||||
return;
|
||||
}
|
||||
this.send({ type: 'pair-device-join', roomKey: roomKey })
|
||||
|
|
|
@ -993,7 +993,7 @@ class ReceiveTextDialog extends Dialog {
|
|||
class Base64ZipDialog extends Dialog {
|
||||
|
||||
constructor() {
|
||||
super('base64ZipDialog');
|
||||
super('base64ZipDialog', false);
|
||||
const urlParams = new URL(window.location).searchParams;
|
||||
const base64zip = urlParams.get('base64zip');
|
||||
if (!navigator.clipboard.readText) {
|
||||
|
|
Loading…
Reference in a new issue