mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 12:05:57 +00:00
fix feedlist init for IE
This commit is contained in:
@@ -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];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user