diff options
Diffstat (limited to 'feedlist.js')
-rw-r--r-- | feedlist.js | 10 |
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); + } } |