mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
better feedlist reloading on subscribed feeds count change
This commit is contained in:
-11
@@ -343,17 +343,6 @@ function parse_counters(reply, scheduled_call) {
|
||||
|
||||
hideOrShowFeeds(getInitParam("hide_read_feeds") == 1);
|
||||
|
||||
var feeds_stored = number_of_feeds;
|
||||
|
||||
if (feeds_stored != feeds_found) {
|
||||
number_of_feeds = feeds_found;
|
||||
|
||||
if (feeds_stored != 0 && feeds_found != 0) {
|
||||
console.log("Subscribed feed number changed, refreshing feedlist");
|
||||
setTimeout('updateFeedList()', 50);
|
||||
}
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
exception_error("parse_counters", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user