cdmWatchdog: bail out when no container is present

This commit is contained in:
Andrew Dolgov 2007-01-30 16:29:22 +01:00
parent d0d0dd47fe
commit 9acd22e844
1 changed files with 2 additions and 0 deletions

View File

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