From f49e4db5964030dcca858db4010443721227b0bb Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:29:44 +1200 Subject: [PATCH] lightbox scrolling issue #321 --- app/static/js/lightbox/baguetteBox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/js/lightbox/baguetteBox.js b/app/static/js/lightbox/baguetteBox.js index 3288636c..4a225109 100644 --- a/app/static/js/lightbox/baguetteBox.js +++ b/app/static/js/lightbox/baguetteBox.js @@ -480,8 +480,8 @@ function hideOverlay() { if (options.noScrollbars) { - document.documentElement.style.overflowY = 'auto'; - document.body.style.overflowY = 'auto'; + document.documentElement.style.overflowY = ''; + document.body.style.overflowY = ''; } if (overlay.style.display === 'none') { return;