fix: allow escape to close chat modals

isekai-main
Barış Soner Uşaklı 2 years ago
parent 35ac434c2c
commit 4c311502a2

@ -357,6 +357,7 @@ define('forum/chats', [
modal = bootbox.dialog({
title: '[[modules:chat.rename-room]]',
message: html,
onEscape: true,
buttons: {
save: {
label: '[[global:save]]',

@ -22,6 +22,7 @@ define('forum/chats/create', [
const modal = bootbox.dialog({
title: '[[modules:chat.create-room]]',
message: html,
onEscape: true,
buttons: {
save: {
label: '[[global:create]]',

@ -28,6 +28,7 @@ define('forum/chats/manage', [
modal = bootbox.dialog({
title: '[[modules:chat.manage-room]]',
message: html,
onEscape: true,
});
modal.attr('component', 'chat/manage-modal');

Loading…
Cancel
Save