mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Increasing # of stories in River of News view for standard users. Upping from 5 stories to 12.
This commit is contained in:
parent
82d4b1923c
commit
84280806c2
1 changed files with 4 additions and 3 deletions
|
@ -61,7 +61,8 @@
|
|||
};
|
||||
this.constants = {
|
||||
FEED_REFRESH_INTERVAL: (1000 * 60) * 1, // 1 minute
|
||||
FILL_OUT_PAGES: 8
|
||||
FILL_OUT_PAGES: 8,
|
||||
RIVER_STORIES_FOR_STANDARD_ACCOUNT: 12
|
||||
};
|
||||
|
||||
// ==================
|
||||
|
@ -2424,7 +2425,7 @@
|
|||
options = options || {};
|
||||
|
||||
for (s in stories) {
|
||||
if (this.flags['non_premium_river_view'] && $story_titles.children(':visible').length >= 5) {
|
||||
if (this.flags['non_premium_river_view'] && $story_titles.children(':visible').length >= this.constants.RIVER_STORIES_FOR_STANDARD_ACCOUNT) {
|
||||
this.append_story_titles_endbar();
|
||||
break;
|
||||
}
|
||||
|
@ -3065,7 +3066,7 @@
|
|||
}
|
||||
|
||||
for (var s in stories) {
|
||||
if (this.flags['non_premium_river_view'] && $stories.children(':visible').length >= 5) {
|
||||
if (this.flags['non_premium_river_view'] && $stories.children(':visible').length >= this.constants.RIVER_STORIES_FOR_STANDARD_ACCOUNT) {
|
||||
this.append_story_titles_endbar();
|
||||
this.append_river_premium_only_notification();
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue