mirror of
https://hk.gh-proxy.com/https://github.com/NodeBB/nodebb-theme-harmony.git
synced 2025-10-03 05:01:05 +08:00
reenable chat modals based on user setting
This commit is contained in:
parent
fe8c12f1b4
commit
67e7787c87
8 changed files with 69 additions and 5 deletions
|
@ -36,8 +36,8 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
hooks.on('filter:chat.openChat', function (hookData) {
|
||||
// disables chat modals & goes straight to chat page
|
||||
hookData.modal = false;
|
||||
// disables chat modals & goes straight to chat page based on user setting
|
||||
hookData.modal = config.theme.chatModals;
|
||||
return hookData;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue