Fixing decline feed in chooser.

This commit is contained in:
Samuel Clay 2014-11-17 16:41:37 -08:00
parent 1155b0e486
commit 055cd22a8c

View file

@ -273,10 +273,7 @@ _.extend(NEWSBLUR.ReaderFeedchooser.prototype, {
},
add_feed_to_decline: function(feed_id, update) {
this.approve_list = _.without(this.approve_list, feed_id);
var $feed = this.$feeds[feed_id];
if (!$feed) return;
feed.highlight_in_all_folders(false, true, {silent: !update});
if (update) {
this.update_counts();