From: Andrew Dolgov Date: Tue, 30 Jan 2007 15:29:22 +0000 (+0100) Subject: cdmWatchdog: bail out when no container is present X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9acd22e84423b19d878734dfe36f97bab768fde5;p=tt-rss.git cdmWatchdog: bail out when no container is present --- 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;