mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Updating header counts when marking a feed or a folder as read (not just individual stories).
This commit is contained in:
parent
298a68b15b
commit
ce28ac3082
1 changed files with 2 additions and 0 deletions
|
@ -1625,6 +1625,7 @@
|
|||
this.mark_feed_as_read_update_counts(feed_id);
|
||||
|
||||
this.model.mark_feed_as_read([feed_id]);
|
||||
this.update_header_counts(true);
|
||||
},
|
||||
|
||||
mark_folder_as_read: function(folder_name, $folder) {
|
||||
|
@ -1636,6 +1637,7 @@
|
|||
}, this));
|
||||
this.mark_feed_as_read_update_counts(null, $folder);
|
||||
this.model.mark_feed_as_read(feeds);
|
||||
this.update_header_counts(true);
|
||||
},
|
||||
|
||||
mark_feed_as_read_update_counts: function(feed_id, $folder) {
|
||||
|
|
Loading…
Add table
Reference in a new issue