mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
pad: Delete do-nothing sendClientReady
wrapper
This commit is contained in:
parent
a712ce457d
commit
b1acf6143a
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue