mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +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 () {
|
socket.on('reconnect', function () {
|
||||||
pad.collabClient.setChannelState("CONNECTED");
|
pad.collabClient.setChannelState("CONNECTED");
|
||||||
pad.sendClientReady(receivedClientVars);
|
sendClientReady(receivedClientVars);
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on('reconnecting', function() {
|
socket.on('reconnecting', function() {
|
||||||
|
@ -379,11 +379,6 @@ var pad = {
|
||||||
{
|
{
|
||||||
return paduserlist.users();
|
return paduserlist.users();
|
||||||
},
|
},
|
||||||
sendClientReady: function(isReconnect, messageType)
|
|
||||||
{
|
|
||||||
messageType = typeof messageType !== 'undefined' ? messageType : 'CLIENT_READY';
|
|
||||||
sendClientReady(isReconnect, messageType);
|
|
||||||
},
|
|
||||||
switchToPad: function(padId)
|
switchToPad: function(padId)
|
||||||
{
|
{
|
||||||
var newHref = new RegExp(/.*\/p\/[^\/]+/).exec(document.location.pathname) || clientVars.padId;
|
var newHref = new RegExp(/.*\/p\/[^\/]+/).exec(document.location.pathname) || clientVars.padId;
|
||||||
|
|
Loading…
Reference in a new issue