disable catchup of visible headlines on viewfeed()

master
Andrew Dolgov 12 years ago
parent 6cb2269c03
commit e2d1c16ed1

@ -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
// 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(
function(child) {
@ -97,7 +98,7 @@ function viewfeed(feed, method, is_cat, offset, background, infscroll_req) {
}
});
}
} */
}
if (offset == 0 && !background)

Loading…
Cancel
Save