fix: allow escape to close chat modals

This commit is contained in:
Barış Soner Uşaklı
2023-07-15 20:04:15 -04:00
parent 35ac434c2c
commit 4c311502a2
3 changed files with 3 additions and 0 deletions

View File

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