assign hash-stored feed_id/is_cat earlier on startup
This commit is contained in:
parent
3cb9cd6e3f
commit
4480b26e66
14
js/tt-rss.js
14
js/tt-rss.js
|
@ -100,13 +100,6 @@ function updateFeedList() {
|
|||
dojo.disconnect(tmph);
|
||||
Element.hide("feedlistLoading");
|
||||
|
||||
var hash_feed_id = hash_get('f');
|
||||
var hash_feed_is_cat = hash_get('c') == "1";
|
||||
|
||||
if (hash_feed_id != undefined) {
|
||||
setActiveFeedId(hash_feed_id, hash_feed_is_cat);
|
||||
}
|
||||
|
||||
feedlist_init();
|
||||
|
||||
// var node = dijit.byId("feedTree")._itemNodesMap['FEED:-2'][0].domNode
|
||||
|
@ -290,6 +283,13 @@ function init_second_stage() {
|
|||
|
||||
feeds_sort_by_unread = getInitParam("feeds_sort_by_unread") == 1;
|
||||
|
||||
var hash_feed_id = hash_get('f');
|
||||
var hash_feed_is_cat = hash_get('c') == "1";
|
||||
|
||||
if (hash_feed_id != undefined) {
|
||||
setActiveFeedId(hash_feed_id, hash_feed_is_cat);
|
||||
}
|
||||
|
||||
loading_set_progress(30);
|
||||
|
||||
// can't use cache_clear() here because viewfeed might not have initialized yet
|
||||
|
|
Loading…
Reference in New Issue