mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
lightbox scrolling issue #321
This commit is contained in:
parent
a03d249a18
commit
f49e4db596
1 changed files with 2 additions and 2 deletions
|
@ -480,8 +480,8 @@
|
||||||
|
|
||||||
function hideOverlay() {
|
function hideOverlay() {
|
||||||
if (options.noScrollbars) {
|
if (options.noScrollbars) {
|
||||||
document.documentElement.style.overflowY = 'auto';
|
document.documentElement.style.overflowY = '';
|
||||||
document.body.style.overflowY = 'auto';
|
document.body.style.overflowY = '';
|
||||||
}
|
}
|
||||||
if (overlay.style.display === 'none') {
|
if (overlay.style.display === 'none') {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue