hide scrollbar in image gallery

This commit is contained in:
nebula 2025-04-05 22:47:14 +00:00
parent 291457427e
commit a31b94af8d

View File

@ -21,6 +21,7 @@ function enlargeImage (filename) {
galleryImage.fullRes = filename;
galleryImage.src = "/compressed/compressed_" + filename;
galleryContainer.style.display = "block";
document.body.style = "overflow:hidden;"
headerImage.style.rotate = "none";
};
@ -28,6 +29,7 @@ function delGallery () {
galleryContainer.style.display = "none";
galleryImage.src = "";
headerImage.style.rotate = "-3deg";
document.body.style = "overflow:auto;"
};
function nextImage () {