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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user