Don't try to reconnect if we reset the connection on our own

This commit is contained in:
Peter 'Pita' Martischka 2011-06-02 01:03:35 +01:00
parent 6122929461
commit a444e870e0
1 changed files with 1 additions and 0 deletions

View File

@ -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;