Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing insta-fetching.

  • Loading branch information...
commit 6a49eff3f429b11dc87e555e9559aa2beac4a4ac 1 parent cba0733
@samuelclay authored
View
4 media/js/newsblur/reader/reader.js
@@ -3888,8 +3888,8 @@
force_feed_refresh: function(feed_id, new_feed_id) {
var self = this;
feed_id = feed_id || this.active_feed;
- new_feed_id = new_feed_id || feed_id;
-
+ new_feed_id = _.isNumber(new_feed_id) && new_feed_id || feed_id;
+ console.log(["force_feed_refresh", feed_id, new_feed_id]);
this.force_feeds_refresh(function() {
// Open the feed back up if it is being refreshed and is still open.
if (self.active_feed == feed_id || self.active_feed == new_feed_id) {
View
2  media/js/newsblur/reader/reader_classifier.js
@@ -902,7 +902,7 @@ var classifier_prototype = {
NEWSBLUR.assets.recalculate_story_scores(feed_id);
this.model.save_classifier(data, function() {
if (!keep_modal_open) {
- NEWSBLUR.reader.force_feeds_refresh(null, true);
+ NEWSBLUR.reader.feed_unread_count(feed_id);
// NEWSBLUR.reader.force_feed_refresh();
// NEWSBLUR.reader.open_feed(self.feed_id, true);
// TODO: Update counts in active feed.
Please sign in to comment.
Something went wrong with that request. Please try again.