summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-06-05 11:22:28 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-06-05 11:22:28 +0200
commit80c664f6a75adf27a68ac7db435aba3a178490c2 (patch)
treeff3b1709da1f29acd4e00784baa44702dcb54272 /templates
parentf37984d16742fa20638828456b3ca626d9054061 (diff)
fix mark read on open shortcut
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index f7633828e..e6db7aa9f 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -23,6 +23,7 @@
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}"
data-id="{{ ::item.id }}">