summaryrefslogtreecommitdiffstats
path: root/templates/main.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-03-18 20:20:57 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-03-18 20:20:57 +0100
commit88b8803e65c3383244591cbbde33b96fac761ecc (patch)
tree4ff4a8b27fef7d2d70e58e102c87e9350aeb0316 /templates/main.php
parentab10e19298c45c9d5ad777690da194741c99b062 (diff)
fix autofocus when loading unread articles and initial view
Diffstat (limited to 'templates/main.php')
-rw-r--r--templates/main.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php
index 90d3896d1..c4816578d 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -62,7 +62,8 @@ if($version[0] > 5 || ($version[0] >= 5 && $version[1] >= 80)) {
news-item-scroll="true"
item-shortcuts
news-pull-to-refresh="loadNew()"
- tabindex="-1">
+ tabindex="-1"
+ news-auto-focus>
<?php print_unescaped($this->inc("part.items")); ?>
</div>
<div id="firstrun" ng-show="initialized && feedBusinessLayer.noFeeds()">