diff options
Diffstat (limited to 'js/post-hover.js')
| -rw-r--r-- | js/post-hover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/post-hover.js b/js/post-hover.js index e21cacf7..74864d9d 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -57,7 +57,7 @@ onready(function(){ if($.contains($post[0], $link[0])) { // link links to itself or to op; ignore } - else if($post.is(':visible') && + else if ($post.is(':visible') && $post.offset().top >= $(window).scrollTop() && $post.offset().top + $post.height() <= $(window).scrollTop() + $(window).height()) { // post is in view |
