summaryrefslogtreecommitdiffstats
path: root/templates/part.feed.unread.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-25 21:54:26 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-25 21:54:26 +0100
commit3a237701e0c9ea8ea2bc4f5e6e4ac840282ab5fa (patch)
tree2e4b316de79ac297f6c66c89daaae0d5fced357c /templates/part.feed.unread.php
parent0430a6ca38545463d7eea070204d77bddb447437 (diff)
return empty json responses when nothing has been done
Diffstat (limited to 'templates/part.feed.unread.php')
-rw-r--r--templates/part.feed.unread.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 4c40848a1..32aa867e7 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -5,13 +5,13 @@
ng-show="isShown(feedType.Subscriptions, 0)">
<a class="rss-icon"
href="#"
- ui-if="getShowAll()==false"
+ ui-if="!isShowAll()"
ng-click="loadFeed(feedType.Subscriptions, 0)">
<?php p($l->t('Unread articles'))?>
</a>
<a class="rss-icon"
href="#"
- ui-if="getShowAll()==true"
+ ui-if="isShowAll()"
ng-click="loadFeed(feedType.Subscriptions, 0)">
<?php p($l->t('All articles'))?>
</a>