From 9acd22e84423b19d878734dfe36f97bab768fde5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 30 Jan 2007 16:29:22 +0100 Subject: [PATCH] cdmWatchdog: bail out when no container is present --- viewfeed.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/viewfeed.js b/viewfeed.js index 8492a234..3291f82b 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; -- 2.39.5