mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing broken river.
This commit is contained in:
parent
ea69c65e50
commit
facdb8db1c
2 changed files with 2 additions and 2 deletions
|
@ -241,7 +241,7 @@ NEWSBLUR.Collections.Folders = Backbone.Collection.extend({
|
|||
this.counts = counts;
|
||||
|
||||
if (sum_total) {
|
||||
var unread_view = this.get_unread_view_name();
|
||||
var unread_view = NEWSBLUR.reader.get_unread_view_name();
|
||||
if (unread_view == 'positive') return counts['ps'];
|
||||
if (unread_view == 'neutral') return counts['ps'] + counts['nt'];
|
||||
if (unread_view == 'negative') return counts['ps'] + counts['nt'] + counts['ng'];
|
||||
|
|
|
@ -3605,7 +3605,7 @@
|
|||
}
|
||||
return total;
|
||||
} else if (this.flags['river_view'] && !this.flags['social_view']) {
|
||||
return this.active_folder.unread_counts(true);
|
||||
return this.active_folder.folders.unread_counts(true);
|
||||
} else if (this.flags['river_view'] && this.flags['social_view']) {
|
||||
var unread_score = this.get_unread_view_score();
|
||||
return NEWSBLUR.assets.social_feeds.reduce(function(m, feed) {
|
||||
|
|
Loading…
Add table
Reference in a new issue