From 3ff8f5a687680f8d32fb0f489e208b1dec6c3364 Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 7 Jun 2023 07:44:22 +0300 Subject: [PATCH] increase modal timeout to prevent weird page jumping --- files/assets/js/core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/assets/js/core.js b/files/assets/js/core.js index 71d64555bf..fd70d51aa5 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -606,7 +606,7 @@ if (width <= 768) { expandImageModal.addEventListener('show.bs.modal', function () { setTimeout(() => { location.hash = "modal"; - }, 400); + }, 800); }); expandImageModal.addEventListener('hide.bs.modal', function () {