diff options
author | Andrew Dolgov <[email protected]> | 2012-12-24 16:54:24 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-12-24 16:54:24 +0400 |
commit | 57e97294259f8d14806764d7a65083c2b84f1ea7 (patch) | |
tree | fa2657c89f1ec227e3139b5f72641788f1c1fe18 /js/feedlist.js | |
parent | dad075f0c8635c606705dca091ba29915565cf42 (diff) |
feedlist_init: do not wait before calling viewfeed(-3)
Diffstat (limited to 'js/feedlist.js')
-rw-r--r-- | js/feedlist.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/feedlist.js b/js/feedlist.js index 9104a4608..e66fcb45d 100644 --- a/js/feedlist.js +++ b/js/feedlist.js @@ -210,9 +210,8 @@ function feedlist_init() { document.onkeydown = hotkey_handler; setTimeout("hotkey_prefix_timeout()", 5*1000); - if (!getActiveFeedId()) { - setTimeout("viewfeed(-3)", 100); - } + if (!getActiveFeedId()) + viewfeed(-3); console.log("T:" + getInitParam("cdm_auto_catchup") + " " + getFeedUnread(-3)); |