fix taskbar icon

v1.18.x
barisusakli 9 years ago
parent d2b54ae0f8
commit 992ca0a351

@ -214,8 +214,6 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
}); });
}); });
chatModal.find('#chat-with-name').html(data.username);
chatModal.find('#chat-close-btn').on('click', function() { chatModal.find('#chat-close-btn').on('click', function() {
module.close(chatModal); module.close(chatModal);
}); });
@ -236,9 +234,7 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
chatModal.on('click', function() { chatModal.on('click', function() {
module.bringModalToTop(chatModal); module.bringModalToTop(chatModal);
if (!dragged) { if (dragged) {
//chatModal.find('#chat-message-input').focus();
} else {
dragged = false; dragged = false;
} }
}); });
@ -285,7 +281,7 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
}); });
taskbar.push('chat', chatModal.attr('UUID'), { taskbar.push('chat', chatModal.attr('UUID'), {
title: data.username, title: data.users.length ? data.users[0].username : '',
roomId: data.roomId, roomId: data.roomId,
icon: 'fa-comment', icon: 'fa-comment',
state: '' state: ''

Loading…
Cancel
Save