1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:35:55 +00:00

store active feed id in url hash and restore on reload

This commit is contained in:
Andrew Dolgov
2013-02-28 13:06:54 +04:00
parent 271edfa6f9
commit 1b04a298ef
3 changed files with 29 additions and 17 deletions

View File

@@ -204,11 +204,11 @@ function feedlist_init() {
document.onkeydown = hotkey_handler;
setTimeout("hotkey_prefix_timeout()", 5*1000);
if (!getActiveFeedId())
viewfeed(-3);
console.log("T:" +
getInitParam("cdm_auto_catchup") + " " + getFeedUnread(-3));
if (!getActiveFeedId()) {
viewfeed(-3);
} else {
viewfeed(getActiveFeedId(), '', activeFeedIsCat());
}
hideOrShowFeeds(getInitParam("hide_read_feeds") == 1);