ensure we don't send a handshake on every reconnect

pull/37/head
Peter 'Pita' Martischka 2011-07-22 14:17:58 +01:00
parent a717e07531
commit 3ccdcec7e8
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ function handshake()
resource: resource
});
socket.on('connect', function()
socket.once('connect', function()
{
var padId = document.URL.substring(document.URL.lastIndexOf("/") + 1);