summaryrefslogtreecommitdiff
path: root/js/post-hover.js
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2016-12-15 18:25:42 +0900
committerGitHub <noreply@github.com>2016-12-15 18:25:42 +0900
commitcae526e65a20f3da2d8884c4d8e8978c54120000 (patch)
tree2954153dd49f616f5018490058ff4bfbd17300d3 /js/post-hover.js
parentb58fab98147a92c8e6d22f15d23684508b6bb811 (diff)
parent5feae402cb55d49963bfd2c6f5a33d10690ecbc1 (diff)
Merge pull request #79 from lainchan/clean_prod_vichan_update
Merge vichan changes from upstream and changes directly applied to the site.
Diffstat (limited to 'js/post-hover.js')
-rw-r--r--js/post-hover.js2
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