Turning off updating unread counts of selected feed temporarily. New stories still come in, but the unread counts are unreliable.

This commit is contained in:
Samuel Clay 2010-05-20 10:16:34 -04:00
parent a9f2bd5db6
commit 3ee93b6f1f

View file

@ -2147,7 +2147,6 @@
if (selected) {
$feed.addClass('selected');
}
$feed_on_page.replaceWith($feed);
$('.unread_count', $feed).corner('4px');
if (feed_id == this.active_feed) {
PROTOPUB.log(['UPDATING INLINE', feed.feed_title, $feed, $feed_on_page]);
@ -2155,6 +2154,7 @@
this.model.refresh_feed(feed_id, $.rescope(this.post_refresh_active_feed, this), limit);
} else {
PROTOPUB.log(['UPDATING', feed.feed_title, $feed, $feed_on_page]);
$feed_on_page.replaceWith($feed);
}
}
},