From a444e870e048f783ec08bdefe24b21aabcfbe5aa Mon Sep 17 00:00:00 2001 From: Peter 'Pita' Martischka Date: Thu, 2 Jun 2011 01:03:35 +0100 Subject: [PATCH] Don't try to reconnect if we reset the connection on our own --- static/js/pad2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/pad2.js b/static/js/pad2.js index 9b82e871a..bf314ab0b 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -93,6 +93,7 @@ function handshake() //We get a disconnect message if(obj.disconnect) { + socket.reconnect = false; socket.disconnect(); alert("You have this Pad already opened in another Window/Tab"); return;