up themes, allow chat modal to be minimised

This commit is contained in:
Julian Lam
2016-10-23 17:24:51 -04:00
parent 4859e499e4
commit 42b01060d7
3 changed files with 7 additions and 3 deletions

View File

@@ -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);