@ -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);
chatModal.on('click', function(e) {
module.bringModalToTop(chatModal);
addSendHandler(chatModal);
getChatMessages(chatModal, function() {