mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 02:11:52 -04:00
Fix bug auto_actualize
When auto_actualize was true and there was no feed to refresh, a message was always showed. Now we check size of array "feeds" and if size is zero, we don't perform auto_actualize action
This commit is contained in:
1 parent
cddec2d76f
commit
cabac73b55
1 file changed
+1
-1
+1
-1
@@ -660,7 +660,7 @@ function init_actualize() {
|
||||
return false;
|
||||
});
|
||||
|
||||
if (auto_actualize_feeds) {
|
||||
if (auto_actualize_feeds && feed_count > 0) {
|
||||
$("#actualize").click();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user