mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
fixes #616
This commit is contained in:
@@ -803,7 +803,7 @@ define(function() {
|
|||||||
pagination.parentNode.style.display = 'block';
|
pagination.parentNode.style.display = 'block';
|
||||||
progressBarContainer.css('display', '');
|
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");
|
localStorage.removeItem("topic:" + tid + ":bookmark");
|
||||||
pagination.innerHTML = '1 out of ' + Topic.postCount;
|
pagination.innerHTML = '1 out of ' + Topic.postCount;
|
||||||
progressBar.width(0);
|
progressBar.width(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user