From 57e97294259f8d14806764d7a65083c2b84f1ea7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 24 Dec 2012 16:54:24 +0400 Subject: [PATCH] feedlist_init: do not wait before calling viewfeed(-3) --- js/feedlist.js | 5 ++--- 1 file 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));