summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-12 00:05:02 +0400
committerAndrew Dolgov <[email protected]>2011-12-12 00:05:02 +0400
commita469bc7e095bb0eb51b5e8be4c017ade3d4b6d80 (patch)
treeef400178da5059b75565eb19a9358d8967c0b4ed
parent107d0cf39e3801547a9a86b32762b772b25f6953 (diff)
disable cdm auto catchup on viewfeed() in normal mode
-rw-r--r--js/feedlist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/feedlist.js b/js/feedlist.js
index 62c44b494..eaaeaad81 100644
--- a/js/feedlist.js
+++ b/js/feedlist.js
@@ -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
// 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(
function(child) {