From 90ad08a00df51d5c10db96f411b1783417250a31 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 7 Dec 2013 17:17:47 -0500 Subject: [PATCH] fixes #616 --- public/src/forum/topic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index fd77d2084f..3a47ce901c 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -802,8 +802,8 @@ define(function() { pagination.parentNode.style.display = 'block'; progressBarContainer.css('display', ''); - - if (scrollTop < 50 && Topic.postCount > 1) { + + if (scrollTop < jQuery('.posts > .post-row:first-child').height() && Topic.postCount > 1) { localStorage.removeItem("topic:" + tid + ":bookmark"); pagination.innerHTML = '1 out of ' + Topic.postCount; progressBar.width(0);