mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
closed #1807
This commit is contained in:
@@ -202,10 +202,16 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
|
|||||||
module.close(chatModal);
|
module.close(chatModal);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
chatModal.find('button[data-action="maximize"]').on('click', function() {
|
||||||
|
ajaxify.go('chats/' + username);
|
||||||
|
module.close(chatModal);
|
||||||
|
});
|
||||||
|
|
||||||
chatModal.on('click', function(e) {
|
chatModal.on('click', function(e) {
|
||||||
module.bringModalToTop(chatModal);
|
module.bringModalToTop(chatModal);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
addSendHandler(chatModal);
|
addSendHandler(chatModal);
|
||||||
|
|
||||||
getChatMessages(chatModal, function() {
|
getChatMessages(chatModal, function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user