forked from rDrama/rDrama
increase modal timeout to prevent weird page jumping
parent
6011f4aab7
commit
3ff8f5a687
|
@ -606,7 +606,7 @@ if (width <= 768) {
|
||||||
expandImageModal.addEventListener('show.bs.modal', function () {
|
expandImageModal.addEventListener('show.bs.modal', function () {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
location.hash = "modal";
|
location.hash = "modal";
|
||||||
}, 400);
|
}, 800);
|
||||||
});
|
});
|
||||||
|
|
||||||
expandImageModal.addEventListener('hide.bs.modal', function () {
|
expandImageModal.addEventListener('hide.bs.modal', function () {
|
||||||
|
|
Loading…
Reference in New Issue