This commit is contained in:
Julian Lam
2014-07-09 11:03:32 -04:00
parent cd8c1eeff6
commit c259e0407e

View File

@@ -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() {