disable cdm auto catchup on viewfeed() in normal mode

This commit is contained in:
Andrew Dolgov 2011-12-12 00:05:02 +04:00
parent 107d0cf39e
commit a469bc7e09

View file

@ -71,7 +71,7 @@ function viewfeed(feed, subop, is_cat, offset, background, infscroll_req) {
// switching to a different feed, we might as well catchup stuff visible // switching to a different feed, we might as well catchup stuff visible
// in headlines buffer (if any) // in headlines buffer (if any)
if (!background && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) { if (!background && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) {
$$("#headlines-frame > div[id*=RROW][class*=Unread]").each( $$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
function(child) { function(child) {