|
|
@ -7,8 +7,8 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
|
|
|
|
var newMessage = false;
|
|
|
|
var newMessage = false;
|
|
|
|
|
|
|
|
|
|
|
|
module.prepareDOM = function() {
|
|
|
|
module.prepareDOM = function() {
|
|
|
|
var chatsToggleEl = $('#chat_dropdown'),
|
|
|
|
var chatsToggleEl = components.get('chat/dropdown'),
|
|
|
|
chatsListEl = $('#chat-list'),
|
|
|
|
chatsListEl = components.get('chat/list'),
|
|
|
|
dropdownEl;
|
|
|
|
dropdownEl;
|
|
|
|
|
|
|
|
|
|
|
|
// Sync open chats between all user socket sessions
|
|
|
|
// Sync open chats between all user socket sessions
|
|
|
|