summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-29 23:10:55 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-29 23:10:55 +0200
commit320304c909dc12c14b53335a7f32550809c06178 (patch)
tree20409afd21f88f098d5c72ebfe9b10525f5190f3 /templates/main.php
parentcba949fb0771c832326fc7886cced2bdc37e7536 (diff)
dont mark read on scroll
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php
index ffbdb1a9a..1656dab25 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -45,6 +45,11 @@
ng-class="{'icon-loading': App.loading.isLoading('content')}"
ng-hide="App.loading.isLoading('global')"
ng-view
- tabindex="-1"></div>
+ tabindex="-1"
+ news-scroll
+ news-scroll-enabled-auto-page="Content.isAutoPaging()"
+ news-scroll-enabled-mark-read="Content.isMarkRead()"
+ news-scroll-auto-page="Content.autoPage()"
+ news-scroll-mark-read="Content.markRead($itemIds)"></div>
</div>