Fix the user list in the toolbar keeping old data with the WebSocket server
Chainpad is no longer responsible for the userlist or the ping
This commit is contained in:
@@ -144,7 +144,7 @@ define([
|
||||
|
||||
var onInit = function (info) {
|
||||
var $bar = $('#pad-iframe')[0].contentWindow.$('#cke_1_toolbox');
|
||||
toolbar = info.realtime.toolbar = Toolbar.create($bar, userName, info.realtime);
|
||||
toolbar = info.realtime.toolbar = Toolbar.create($bar, userName, info.realtime, info.webChannel, info.userList);
|
||||
/* TODO handle disconnects and such*/
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user