summaryrefslogtreecommitdiffstats
path: root/js/public
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-23 13:47:16 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-23 13:47:16 +0200
commit02436eae6d660ebf709d987836fb657dc63f5bce (patch)
tree3fe23d86d08fab7dea63d99bacaeb108f2dc55f5 /js/public
parent64d99e57d008f9cf3105b0ba7810d9860037ca8a (diff)
dont show unread articles when there are no feeds
Diffstat (limited to 'js/public')
-rw-r--r--js/public/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/public/app.js b/js/public/app.js
index e38b6670d..2962731f3 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -1490,7 +1490,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
SubscriptionsBusinessLayer.prototype.isVisible = function() {
var visible;
- if (this.isActive(0)) {
+ if (this.isActive(0) && this._feedBusinessLayer.getNumberOfFeeds() > 0) {
return true;
}
if (this._showAll.getShowAll()) {