From d538613b60ea2c5bff4f8e124ecbb8dedb528aea Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 18 Apr 2016 21:18:13 +0200 Subject: Fix #791 --- templates/part.content.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/part.content.php b/templates/part.content.php index 5c5b2efa6..4da7cbf8d 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -23,8 +23,9 @@ ng-repeat="item in Content.getItems() | orderBy:[Content.orderBy()] track by item.id" ng-mouseup="Content.markRead(item.id)" - ng-click="Content.markRead(item.id)" - ng-class="{read: !item.unread, open: item.show}" + ng-click="Content.markRead(item.id); Content.setItemActive(item.id)" + news-on-active="Content.setItemActive(item.id)" + ng-class="{read: !item.unread, open: item.show, active: Content.isItemActive(item.id)}" data-id="{{ ::item.id }}">
-- cgit v1.2.3