diff --git a/4chan_x.js b/4chan_x.js index 7034ca9f5..8ea4d85d7 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -542,7 +542,6 @@ imgHeight = img.offsetHeight; top = clientY + imageHover.offset.y; bot = top + imgHeight; - log(bot, imageHover.winHeight); img.style.top = imageHover.winHeight < imgHeight || top < 0 ? '0px' : bot > imageHover.winHeight ? imageHover.winHeight - imgHeight + 'px' : top + 'px'; return img.style.left = clientX + imageHover.offset.x; }, diff --git a/script.coffee b/script.coffee index 8c906fcc8..0927090af 100644 --- a/script.coffee +++ b/script.coffee @@ -373,7 +373,6 @@ imageHover = top = clientY + imageHover.offset.y bot = top + imgHeight - log bot, imageHover.winHeight img.style.top = if imageHover.winHeight < imgHeight or top < 0 '0px'