mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
ensure we don't send a handshake on every reconnect
This commit is contained in:
parent
a717e07531
commit
3ccdcec7e8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue