summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-20 16:49:52 +0100
committerAndrew Dolgov <[email protected]>2005-12-20 16:49:52 +0100
commitbbf4d0b29d61648dd817b046750b6f1c66a5f7af (patch)
tree0234ee5c6b710cf01727d0a22ed1425d925bd609 /functions.js
parent1163fb6d6190234707c8cbe90f092274cd3633b8 (diff)
fix feedlist init for IE
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js2
1 files changed, 2 insertions, 0 deletions
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];