aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.js b/index.js
index a276759..5e9a19c 100644
--- a/index.js
+++ b/index.js
@@ -180,13 +180,13 @@ window.addEventListener('load', () => {
currentModalImage.dataset.description = modalDesc.value;
}
modal.style.display = 'none';
- document.body.style.overflow = 'hidden';
+ document.body.style.overflow = 'auto';
});
window.addEventListener('click', (evt) => {
if (evt.target == modal) {
modal.style.display = 'none';
- document.body.style.overflow = 'hidden';
+ document.body.style.overflow = 'auto';
}
});
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage