try to fix jumpiness of zooming out

master
Aevann 2023-03-12 01:01:03 +02:00
parent 257a38548a
commit e73b584bb5
1 changed files with 3 additions and 1 deletions

View File

@ -582,7 +582,9 @@ function handleUploadProgress(e, upload_prog) {
}
document.getElementById('expandImageModal').addEventListener('show.bs.modal', function () {
location.hash = "modal";
setTimeout(() => {
location.hash = "modal";
}, 200);
});
document.getElementById('expandImageModal').addEventListener('hide.bs.modal', function () {