Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/news.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-02 11:28:08 +0300
committerBernhard Posselt <dev@bernhard-posselt.com>2014-12-02 11:28:08 +0300
commit0a9b0cc99000b42374f209c2d2f886bd8b3f733e (patch)
tree726cf16bb0bdd833ad46af025781fa1c0dab8b22 /js/directive
parentbb12afb075e1b3e2bcb356ee19d6c9fc7a94be6b (diff)
fix #671
Diffstat (limited to 'js/directive')
-rw-r--r--js/directive/NewsScroll.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/directive/NewsScroll.js b/js/directive/NewsScroll.js
index d4a46a79f..c101526bf 100644
--- a/js/directive/NewsScroll.js
+++ b/js/directive/NewsScroll.js
@@ -49,7 +49,7 @@ app.directive('newsScroll', function ($timeout, ITEM_AUTO_PAGE_SIZE,
articles.each(function(index, article) {
var item = $(article);
- if (item.position().top <= -50) {
+ if (item.position().top <= -10) {
ids.push(parseInt(item.data('id'), 10));
} else {
return false;