summaryrefslogtreecommitdiff
path: root/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-01-30 16:29:22 +0100
committerAndrew Dolgov <[email protected]>2007-01-30 16:29:22 +0100
commit9acd22e84423b19d878734dfe36f97bab768fde5 (patch)
treec2b9bfd8b957c7012bfc1aa0d26d1e39ead0122c /viewfeed.js
parentd0d0dd47fec8446d2bdec67983fad3bdc5c3d9d4 (diff)
cdmWatchdog: bail out when no container is present
Diffstat (limited to 'viewfeed.js')
-rw-r--r--viewfeed.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js
index 8492a2341..3291f82b5 100644
--- a/viewfeed.js
+++ b/viewfeed.js
@@ -553,6 +553,8 @@ function cdmWatchdog() {
var ctr = document.getElementById("headlinesInnerContainer");
+ if (!ctr) return;
+
var ids = new Array();
var e = ctr.firstChild;