summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 4334baf4d..671d53cbc 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -4,7 +4,7 @@
<li class="feed_item"
ng-repeat="item in itemBusinessLayer.getAll() | orderBy:['-id'] "
- ng-class="{ read: item.isRead(), compact: isCompactView(), open: is.active==item.id}"
+ ng-class="{ read: item.isRead(), compact: isCompactView(), open: item.active}"
data-id="{{ item.id }}"
ng-click="itemBusinessLayer.setRead(item.id)">
@@ -23,7 +23,7 @@
{{ getRelativeDate(item.pubDate) }}
</span>
<h1>
- <a ng-click="toggleOpen(item.id)" href="#">{{ item.title }}</a>
+ <a ng-click="item.active = !item.active" href="#">{{ item.title }}</a>
</h1>
</div>