forked from rDrama/rDrama
try to fix jumpiness of zooming out
parent
257a38548a
commit
e73b584bb5
|
@ -582,7 +582,9 @@ function handleUploadProgress(e, upload_prog) {
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('expandImageModal').addEventListener('show.bs.modal', function () {
|
document.getElementById('expandImageModal').addEventListener('show.bs.modal', function () {
|
||||||
|
setTimeout(() => {
|
||||||
location.hash = "modal";
|
location.hash = "modal";
|
||||||
|
}, 200);
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('expandImageModal').addEventListener('hide.bs.modal', function () {
|
document.getElementById('expandImageModal').addEventListener('hide.bs.modal', function () {
|
||||||
|
|
Loading…
Reference in New Issue