From 1b0809ae450c1fb6b528c37c2c9e48e766ef7cc2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 Dec 2005 12:14:24 +0100 Subject: fix forced selection of dropboxes (functions.js:dropboxSelect()) --- feedlist.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'feedlist.js') 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); + } } -- cgit v1.2.3