fix feedlist init for IE

This commit is contained in:
Andrew Dolgov 2005-12-20 16:49:52 +01:00
parent 1163fb6d61
commit bbf4d0b29d
2 changed files with 3 additions and 1 deletions

View File

@ -197,6 +197,6 @@ function init() {
document.onkeydown = hotkey_handler; document.onkeydown = hotkey_handler;
parent.setTimeout("timeout()", 1000); parent.setTimeout("timeout()", 1000);
} catch (e) { } catch (e) {
exception_error("feedlist/init()", e); exception_error("feedlist/init", e);
} }
} }

View File

@ -496,6 +496,8 @@ function hideOrShowFeeds(doc, hide) {
var css_rules = doc.styleSheets[0].cssRules; var css_rules = doc.styleSheets[0].cssRules;
if (!css_rules || !css_rules.length) return;
for (i = 0; i < css_rules.length; i++) { for (i = 0; i < css_rules.length; i++) {
var rule = css_rules[i]; var rule = css_rules[i];