summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
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>