From 2b31b72b02a10bdc71144beb4a59ed7ddb69c514 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Sat, 10 Oct 2020 17:04:06 +0200 Subject: [PATCH] remove alert message - fixes #31 --- src/y-websocket.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/y-websocket.js b/src/y-websocket.js index 80a2ce6..a1c0896 100644 --- a/src/y-websocket.js +++ b/src/y-websocket.js @@ -220,15 +220,6 @@ export class WebsocketProvider extends Observable { if (resyncInterval > 0) { this._resyncInterval = setInterval(() => { if (this.ws) { - if (!this.synced) { - alert(` - Please report that this message was shown to https://github.com/yjs/y-websocket/issues - - Thank you! ❤ - - (Sorry for showing this message..`) - console.warn('Client was unsynced anyway') - } // resend sync step 1 const encoder = encoding.createEncoder() encoding.writeVarUint(encoder, messageSync)