diff options
| author | 2014-02-15 14:03:17 +0100 | |
|---|---|---|
| committer | 2014-02-15 14:03:17 +0100 | |
| commit | cabac73b552a8bec4ca284dd40fb27872d6694c6 (patch) | |
| tree | e6265342516c04a5b5b873a02a74307fa0201a1a /p/scripts | |
| parent | cddec2d76f2c5d25d3008d5e2a60fddad6028a5d (diff) | |
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
Diffstat (limited to 'p/scripts')
| -rw-r--r-- | p/scripts/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js index 88ef670cd..44517eb6c 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -660,7 +660,7 @@ function init_actualize() { return false; }); - if (auto_actualize_feeds) { + if (auto_actualize_feeds && feed_count > 0) { $("#actualize").click(); } } |
