Don't try to reconnect if we reset the connection on our own
This commit is contained in:
parent
6122929461
commit
a444e870e0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue