summaryrefslogtreecommitdiffstats
path: root/js/directive/NewsScroll.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/directive/NewsScroll.js')
-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;