mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Accidentally marking stories in active feed as read when marking other feeds as read.
This commit is contained in:
parent
d84e2af636
commit
d62f63935a
1 changed files with 2 additions and 1 deletions
|
@ -292,6 +292,7 @@ NEWSBLUR.AssetModel = Backbone.Router.extend({
|
|||
: [feed_id];
|
||||
|
||||
this.stories.each(function(story) {
|
||||
if (!_.contains(feed_ids, story.get('story_feed_id'))) return;
|
||||
if (direction == "older" &&
|
||||
cutoff_timestamp &&
|
||||
story.get('story_timestamp') > cutoff_timestamp) {
|
||||
|
@ -1884,7 +1885,7 @@ NEWSBLUR.AssetModel = Backbone.Router.extend({
|
|||
fetch_original_text: function(story_hash, callback, error_callback) {
|
||||
var story = this.get_story(story_hash);
|
||||
this.make_request('/rss_feeds/original_text', {
|
||||
story_hash: story_hash,
|
||||
story_hash: story_hash
|
||||
}, function(data) {
|
||||
story.set('original_text', data.original_text);
|
||||
callback(data);
|
||||
|
|
Loading…
Add table
Reference in a new issue