summaryrefslogtreecommitdiffstats
path: root/js/public/app.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2013-09-23 21:54:59 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2013-09-23 21:54:59 +0200
commitdbd13392dd8d5debdbf149db82d6e317cd3cc40b (patch)
tree313b744f3e87834cb3c053c725220a74b4e46ae3 /js/public/app.js
parent92a02ff6ca048c934d5aba2ae6bcbbee224c513b (diff)
use better wording for hiding/showing unread articles and feeds/folders, fix #366
Diffstat (limited to 'js/public/app.js')
-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 99c4ab419..87ea8c288 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -1379,7 +1379,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
FolderBusinessLayer.prototype.isVisible = function(folderId) {
var feed, _i, _len, _ref;
- if (this._showAll.getShowAll() || this._feedBusinessLayer.noFeeds()) {
+ if (this._showAll.getShowAll() || this._feedBusinessLayer.getFeedsOfFolder(folderId).length === 0) {
return true;
} else {
if (this.isActive(folderId) || this._feedBusinessLayer.getFolderUnreadCount(folderId) > 0) {