mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04: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…
Add table
Add a link
Reference in a new issue