ensure we don't send a handshake on every reconnect
This commit is contained in:
parent
a717e07531
commit
3ccdcec7e8
|
@ -80,7 +80,7 @@ function handshake()
|
||||||
resource: resource
|
resource: resource
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on('connect', function()
|
socket.once('connect', function()
|
||||||
{
|
{
|
||||||
var padId = document.URL.substring(document.URL.lastIndexOf("/") + 1);
|
var padId = document.URL.substring(document.URL.lastIndexOf("/") + 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue