summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/feedlist.js b/feedlist.js
index 8c9ca61d4..c58dff610 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -192,7 +192,11 @@ function toggleCollapseCat(cat) {
}
function init() {
- hideOrShowFeeds(document, getCookie("ttrss_vf_hreadf") == 1);
- document.onkeydown = hotkey_handler;
- parent.setTimeout("timeout()", 1000);
+ try {
+ hideOrShowFeeds(document, getCookie("ttrss_vf_hreadf") == 1);
+ document.onkeydown = hotkey_handler;
+ parent.setTimeout("timeout()", 1000);
+ } catch (e) {
+ exception_error("feedlist/init()", e);
+ }
}