disable catchup of visible headlines on viewfeed()

This commit is contained in:
Andrew Dolgov 2012-04-09 11:58:14 +04:00
parent 6cb2269c03
commit e2d1c16ed1
1 changed files with 3 additions and 2 deletions

View File

@ -71,7 +71,8 @@ function viewfeed(feed, method, 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 && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) { // disabled for now because this behavior is considered confusing -fox
/* 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) {
@ -97,7 +98,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
} }
}); });
} } */
} }
if (offset == 0 && !background) if (offset == 0 && !background)