diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-03 03:23:22 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-09-03 03:23:22 +0200 |
commit | 843845695fce9a066e19ae4a1e4285b12eaa8d95 (patch) | |
tree | 9231bacaef89f7d41a5c53d424ada935428656fd /js | |
parent | 37d7ad7c5b980ad8f0e94247d2cb63a82bfe2163 (diff) |
dont mark feeds as read when you hit the bottom because its not needed any more
Diffstat (limited to 'js')
-rw-r--r-- | js/items.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/items.js b/js/items.js index e0a8b7570..cc09ac104 100644 --- a/js/items.js +++ b/js/items.js @@ -47,7 +47,7 @@ var t = t || function(app, string){ return string; }; // mock translation for lo $(this).children('ul').children('.feed_item:not(.read)').each(function(){ var item = this; var itemOffset = $(this).position().top; - if(itemOffset <= 0 || scrolled >= scrollHeight){ + if(itemOffset <= 0){ // wait and check if the item is still under the top edge setTimeout(function(){ self._markItemAsReadTimeout(item);}, 1000); } |