Skip to content

Node.js based forum software built for the modern web

closed #1807

Julian Lamc259e0407e17
diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js
index fa6e605ec4..bd251561f2 100644
--- a/public/src/modules/chat.js
+++ b/public/src/modules/chat.js
@@ -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() {