summaryrefslogtreecommitdiffstats
path: root/templates/index.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 21:11:42 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-11 21:11:42 +0200
commit3e313821cf21e6443ab1b75336c8c510d758fa43 (patch)
tree0c2533226308322030548d11de107179288ebe77 /templates/index.php
parentf3091d84e14537a42334e66ea6588cf2b83f9ab6 (diff)
fix autofocus
Diffstat (limited to 'templates/index.php')
-rw-r--r--templates/index.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/index.php b/templates/index.php
index f84709571..b7aa17a2c 100644
--- a/templates/index.php
+++ b/templates/index.php
@@ -45,13 +45,11 @@ style('news', [
<!-- content -->
<script type="text/ng-template" id="content.html"><?php print_unescaped($this->inc('part.content')) ?></script>
- <div id="app-content" ng-class="{'loading-content': App.loading.isLoading('content') && !App.loading.isLoading('global')}">
+ <div id="app-content" ng-class="{'loading-content': App.loading.isLoading('content') && !App.loading.isLoading('global')}" tabindex="-1">
<div id="app-content-wrapper"
ng-class="{'autopaging': App.loading.isLoading('autopaging')}"
ng-hide="App.loading.isLoading('global')"
ng-view
- tabindex="-1"
- news-auto-focus
news-scroll
news-scroll-enabled-auto-page="Content.autoPagingEnabled()"
news-scroll-enabled-mark-read="Content.markReadEnabled()"