From 0a9b0cc99000b42374f209c2d2f886bd8b3f733e Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 2 Dec 2014 09:28:08 +0100 Subject: fix #671 --- js/directive/NewsScroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/directive') 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; -- cgit v1.2.3