v1.18.x
Julian Lam 11 years ago
parent cd8c1eeff6
commit c259e0407e

@ -202,10 +202,16 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
module.close(chatModal);
});
chatModal.find('button[data-action="maximize"]').on('click', function() {
ajaxify.go('chats/' + username);
module.close(chatModal);
});
chatModal.on('click', function(e) {
module.bringModalToTop(chatModal);
});
addSendHandler(chatModal);
getChatMessages(chatModal, function() {

Loading…
Cancel
Save