mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-15 02:34:48 -04:00
add hook
This commit is contained in:
parent
9dfac79107
commit
2e7f1f92a4
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,7 @@ function init() {
|
|||
socket.on('message', function(message)
|
||||
{
|
||||
if(window.console) console.log(message);
|
||||
|
||||
console.log(message);
|
||||
if(message.type == "CLIENT_VARS")
|
||||
{
|
||||
handleClientVars(message);
|
||||
|
@ -91,6 +91,7 @@ function init() {
|
|||
} else {
|
||||
changesetLoader.handleMessageFromServer(message);
|
||||
}
|
||||
hooks.callAll('handleClientTimesliderMessage_' + message.type, {payload: message.payload});
|
||||
});
|
||||
|
||||
//get all the export links
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue