diff --git a/src/static/js/timeslider.js b/src/static/js/timeslider.js index 28da1d455..0830720d5 100644 --- a/src/static/js/timeslider.js +++ b/src/static/js/timeslider.js @@ -71,11 +71,14 @@ function init() { // route the incoming messages socket.on('message', (message) => { + console.log(message.type); if (message.type == 'CLIENT_VARS') { handleClientVars(message); } else if (message.accessStatus) { $('body').html('

You have no permission to access this pad

'); - } else if (message.type === 'CHANGESET_REQ') { changesetLoader.handleMessageFromServer(message); } + } else if (message.type === 'CHANGESET_REQ' || message.type === 'COLLABROOM') { + changesetLoader.handleMessageFromServer(message); + } }); // get all the export links