summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
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 e0ddfff12..989a144bd 100644
--- a/functions.js
+++ b/functions.js
@@ -494,6 +494,8 @@ function popupHelp(tid) {
function hideOrShowFeeds(doc, hide) {
+ if (!doc.styleSheets) return;
+
var css_rules = doc.styleSheets[0].cssRules;
if (!css_rules || !css_rules.length) return;