feedlist_init: do not wait before calling viewfeed(-3)

This commit is contained in:
Andrew Dolgov 2012-12-24 16:54:24 +04:00
parent dad075f0c8
commit 57e9729425
1 changed files with 2 additions and 3 deletions

View File

@ -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));