mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
up themes, allow chat modal to be minimised
This commit is contained in:
@@ -213,6 +213,10 @@ define('chat', [
|
||||
|
||||
chatModal.find('.modal-header').on('dblclick', gotoChats);
|
||||
chatModal.find('button[data-action="maximize"]').on('click', gotoChats);
|
||||
chatModal.find('button[data-action="minimize"]').on('click', function() {
|
||||
var uuid = chatModal.attr('uuid');
|
||||
module.minimize(uuid);
|
||||
});
|
||||
|
||||
chatModal.on('click', function () {
|
||||
module.bringModalToTop(chatModal);
|
||||
|
||||
Reference in New Issue
Block a user