From 357bf6747d63901a4ff0af7db43b342777566d84 Mon Sep 17 00:00:00 2001 From: Artem VV Date: Tue, 20 Jun 2023 21:36:25 +0700 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BF=D1=80=D0=B5=D1=82=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D1=8F=20=D0=BC=D0=BE=D0=B4?= =?UTF-8?q?=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BE=D0=BA=D0=BD?= =?UTF-8?q?=D0=B0,=20=D0=BA=D1=80=D0=BE=D0=BC=D0=B5=20=D0=BA=D0=BD=D0=BE?= =?UTF-8?q?=D0=BF=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ChatView.astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/ChatView.astro b/src/components/ChatView.astro index bd1d3ce..b7c0183 100644 --- a/src/components/ChatView.astro +++ b/src/components/ChatView.astro @@ -378,6 +378,8 @@ const userIsCreator = await isUserChatCreator(user.id, chat.chat.id); document.addEventListener("DOMContentLoaded", () => { const modalsController = new HystModal({ linkAttributeName: "data-hystmodal", + closeOnOverlay: false, + closeOnEsc: false, }); if (location.hash === "#chatSettings") { modalsController.open("#settingsModal");