diff --git a/src/static/js/pad.js b/src/static/js/pad.js index 9040cc1dd..ac591ca52 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -190,7 +190,7 @@ function handshake() socket.on('reconnect', function () { pad.collabClient.setChannelState("CONNECTED"); - pad.sendClientReady(receivedClientVars); + sendClientReady(receivedClientVars); }); socket.on('reconnecting', function() { @@ -379,11 +379,6 @@ var pad = { { return paduserlist.users(); }, - sendClientReady: function(isReconnect, messageType) - { - messageType = typeof messageType !== 'undefined' ? messageType : 'CLIENT_READY'; - sendClientReady(isReconnect, messageType); - }, switchToPad: function(padId) { var newHref = new RegExp(/.*\/p\/[^\/]+/).exec(document.location.pathname) || clientVars.padId;