mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26: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() {
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue