hide scrollbar in image gallery
This commit is contained in:
parent
291457427e
commit
a31b94af8d
@ -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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user