fix feedlist init for IE
This commit is contained in:
parent
1163fb6d61
commit
bbf4d0b29d
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue