From 01b26a08c7587045e99ba8d627188eec4a7935d7 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 2 Apr 2011 06:57:50 -0700 Subject: [PATCH] remove logging to fix imageHover --- 4chan_x.js | 1 - script.coffee | 1 - 2 files changed, 2 deletions(-) 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'