summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-20 12:14:24 +0100
committerAndrew Dolgov <[email protected]>2005-12-20 12:14:24 +0100
commit1b0809ae450c1fb6b528c37c2c9e48e766ef7cc2 (patch)
tree45c7523ba7a14ea4e73ad1baf7561270424028ac /feedlist.js
parenta9b0bfd5e01ca33f05a18ccc528c730d896732b6 (diff)
fix forced selection of dropboxes (functions.js:dropboxSelect())
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);
+ }
}