on mobile - zoom out when closing expanded image (testing on devrama)

pull/139/head
Aevann 2023-03-10 03:51:45 +02:00
parent 4a356d99ca
commit a42ecd67bf
1 changed files with 6 additions and 0 deletions

View File

@ -600,3 +600,9 @@ function handleUploadProgress(e, upload_prog) {
percentIndicator.textContent = progressPercent + '%'; percentIndicator.textContent = progressPercent + '%';
} }
} }
if (width < 768) {
document.getElementById('expandImageModal').addEventListener('hidden.bs.modal', () => {
document.body.style.zoom = "100%";
});
}