diff options
author | Andrew Dolgov <[email protected]> | 2005-12-20 16:49:52 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-20 16:49:52 +0100 |
commit | bbf4d0b29d61648dd817b046750b6f1c66a5f7af (patch) | |
tree | 0234ee5c6b710cf01727d0a22ed1425d925bd609 | |
parent | 1163fb6d6190234707c8cbe90f092274cd3633b8 (diff) |
fix feedlist init for IE
-rw-r--r-- | feedlist.js | 2 | ||||
-rw-r--r-- | functions.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/feedlist.js b/feedlist.js index c58dff610..2e1d5eb5f 100644 --- a/feedlist.js +++ b/feedlist.js @@ -197,6 +197,6 @@ function init() { document.onkeydown = hotkey_handler; parent.setTimeout("timeout()", 1000); } catch (e) { - exception_error("feedlist/init()", e); + exception_error("feedlist/init", e); } } diff --git a/functions.js b/functions.js index 2764a5bb2..e0ddfff12 100644 --- a/functions.js +++ b/functions.js @@ -496,6 +496,8 @@ function hideOrShowFeeds(doc, hide) { var css_rules = doc.styleSheets[0].cssRules; + if (!css_rules || !css_rules.length) return; + for (i = 0; i < css_rules.length; i++) { var rule = css_rules[i]; |