summaryrefslogtreecommitdiff
path: root/js/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-12-24 16:54:24 +0400
committerAndrew Dolgov <[email protected]>2012-12-24 16:54:24 +0400
commit57e97294259f8d14806764d7a65083c2b84f1ea7 (patch)
treefa2657c89f1ec227e3139b5f72641788f1c1fe18 /js/feedlist.js
parentdad075f0c8635c606705dca091ba29915565cf42 (diff)
feedlist_init: do not wait before calling viewfeed(-3)
Diffstat (limited to 'js/feedlist.js')
-rw-r--r--js/feedlist.js5
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));