diff --git a/files/assets/js/core.js b/files/assets/js/core.js index 4125654575..198cff7352 100644 --- a/files/assets/js/core.js +++ b/files/assets/js/core.js @@ -600,3 +600,9 @@ function handleUploadProgress(e, upload_prog) { percentIndicator.textContent = progressPercent + '%'; } } + +if (width < 768) { + document.getElementById('expandImageModal').addEventListener('hidden.bs.modal', () => { + document.body.style.zoom = "100%"; + }); +}