diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-16 15:19:05 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-16 15:23:12 +0200 |
commit | dee17d002d87667f7d0f4478e1f0180135618c38 (patch) | |
tree | d71c6896bd558b28fa16af0c424b2f4d1aca768c /js/app/app.coffee | |
parent | 8df6d36d49d89f3bb7186b36436606adb039b3f8 (diff) |
dont show unread count when it is 0, dont bold read feeds, implemented autopaging
Diffstat (limited to 'js/app/app.coffee')
-rw-r--r-- | js/app/app.coffee | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/app/app.coffee b/js/app/app.coffee index 2042a9ebf..264078b57 100644 --- a/js/app/app.coffee +++ b/js/app/app.coffee @@ -28,6 +28,10 @@ angular.module('News', ['OC', 'ui']).config ($provide) -> scrollTimeout: 500 feedUpdateInterval: 600000 itemBatchSize: 20 + # the autoPageFactor defines how many heights of the box must be left + # before it starts autopaging e.g. if it was 2, then it will start + # to fetch new items if less than the height*2 px is left to scroll + autoPageFactor: 6 angular.module('News').run ['Persistence', 'Config', 'FeedBusinessLayer', |