mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
up themes, allow chat modal to be minimised
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
"nodebb-plugin-spam-be-gone": "0.4.10",
|
||||
"nodebb-rewards-essentials": "0.0.9",
|
||||
"nodebb-theme-lavender": "3.0.15",
|
||||
"nodebb-theme-persona": "4.1.72",
|
||||
"nodebb-theme-vanilla": "5.1.49",
|
||||
"nodebb-theme-persona": "4.1.73",
|
||||
"nodebb-theme-vanilla": "5.1.50",
|
||||
"nodebb-widget-essentials": "2.0.12",
|
||||
"nodemailer": "2.6.4",
|
||||
"nodemailer-sendmail-transport": "1.0.0",
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -70,7 +70,7 @@ define('taskbar', function () {
|
||||
|
||||
taskbar.minimize = function (module, uuid) {
|
||||
var btnEl = taskbar.tasklist.find('[data-module="' + module + '"][data-uuid="' + uuid + '"]');
|
||||
btnEl.removeClass('active');
|
||||
btnEl.toggleClass('active', false);
|
||||
};
|
||||
|
||||
taskbar.toggleNew = function (uuid, state, silent) {
|
||||
|
||||
Reference in New Issue
Block a user