diff --git a/src/Images/ImageExpand.coffee b/src/Images/ImageExpand.coffee index c75d69776..e0a91bdbe 100755 --- a/src/Images/ImageExpand.coffee +++ b/src/Images/ImageExpand.coffee @@ -198,7 +198,7 @@ ImageExpand = # Scroll to display full image. if file.scrollIntoView delete file.scrollIntoView - imageBottom = Header.getBottomOf file.fullImage + imageBottom = Header.getBottomOf(file.fullImage) - 25 if imageBottom < 0 window.scrollBy 0, Math.min(-imageBottom, Header.getTopOf file.fullImage)