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:
Marien Fressinaud
2014-02-15 14:03:17 +01:00
parent cddec2d76f
commit cabac73b55

View File

@@ -660,7 +660,7 @@ function init_actualize() {
return false;
});
if (auto_actualize_feeds) {
if (auto_actualize_feeds && feed_count > 0) {
$("#actualize").click();
}
}