From: Andrew Dolgov Date: Mon, 24 Dec 2012 12:54:24 +0000 (+0400) Subject: feedlist_init: do not wait before calling viewfeed(-3) X-Git-Tag: 1.7.0~131 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=57e97294259f8d14806764d7a65083c2b84f1ea7;p=tt-rss.git feedlist_init: do not wait before calling viewfeed(-3) --- diff --git a/js/feedlist.js b/js/feedlist.js index 9104a460..e66fcb45 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));