From eff82be3dc4e2841211d822bf212b50f667c7845 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 3 Aug 2023 13:53:53 +0300 Subject: [PATCH] same as last commit --- files/assets/js/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/assets/js/core.js b/files/assets/js/core.js index 7f3c8e37d..c161798c1 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -586,11 +586,11 @@ function handleUploadProgress(e, upload_prog) { if (screen_width <= 768) { - addEventListener('show.bs.modal', function () { + addEventListener('shown.bs.modal', function () { location.hash = "modal"; }); - addEventListener('hide.bs.modal', function () { + addEventListener('hidden.bs.modal', function () { if(location.hash == "#modal") { history.back(); }