diff options
author | Andrew Dolgov <[email protected]> | 2008-05-19 11:24:46 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2008-05-19 11:24:46 +0100 |
commit | 3a40e8a2eda381bd33c2b52869ba50826b614529 (patch) | |
tree | ec0b82a6cb845851611761d80efa5f554a524a4b /viewfeed.js | |
parent | 673c9946741ab7fcc9bcee02c25c26d295e93693 (diff) |
add placeholder mouse trap code, misc fixes
Diffstat (limited to 'viewfeed.js')
-rw-r--r-- | viewfeed.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/viewfeed.js b/viewfeed.js index 24f3636fb..77938c9d9 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -1091,6 +1091,8 @@ function cdmGetVisibleArticles() { var sel_articles = new Array(); var container = document.getElementById("headlinesInnerContainer"); + if (!container) return sel_articles; + for (i = 0; i < container.childNodes.length; i++) { var child = container.childNodes[i]; |