summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 7678fbbaa..54ae82b0d 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -46,10 +46,13 @@ function headlines_callback() {
if (_cdm_wd_timeout) window.clearTimeout(_cdm_wd_timeout);
- if (!document.getElementById("headlinesList")) {
+ if (!document.getElementById("headlinesList") &&
+ getInitParam("cdm_auto_catchup") == 1) {
debug("starting CDM watchdog");
_cdm_wd_timeout = window.setTimeout("cdmWatchdog()", 5000);
_cdm_wd_vishist = new Array();
+ } else {
+ debug("not in CDM mode or watchdog disabled");
}
if (_tag_cdm_scroll) {