]> git.wh0rd.org Git - tt-rss.git/commitdiff
cdmWatchdog: bail out when no container is present
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 30 Jan 2007 15:29:22 +0000 (16:29 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 30 Jan 2007 15:29:22 +0000 (16:29 +0100)
viewfeed.js

index 8492a2341415292101e361358f085bc0df0274b0..3291f82b5db50f097d675ccb9f99b0a2efb12e0d 100644 (file)
@@ -553,6 +553,8 @@ function cdmWatchdog() {
 
                var ctr = document.getElementById("headlinesInnerContainer");
 
+               if (!ctr) return;
+
                var ids = new Array();
 
                var e = ctr.firstChild;