diff --git a/public/scripts/network.js b/public/scripts/network.js index 07333a3..02c4574 100644 --- a/public/scripts/network.js +++ b/public/scripts/network.js @@ -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 }) diff --git a/public/scripts/ui.js b/public/scripts/ui.js index f80a9b2..ac5f72e 100644 --- a/public/scripts/ui.js +++ b/public/scripts/ui.js @@ -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) {