summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2021-01-04 14:31:31 -0500
committerGravatar GitHub <noreply@github.com> 2021-01-04 20:31:31 +0100
commit739080ff104786f5816ae96d98289e3e7f55b6b9 (patch)
tree92edae9b9ad907a8049ec1d865e1e5c7c907c6f8
parent27e5d539d0a1cbed3cf8523f3a383b54c495c512 (diff)
Add autofocus on subscription page (#3334)
Before, there was no autofocusing on the subscription page. It feels a bit off since most of the time, when you're landing on that page you want to add a new feed. Now, the focus is on the feed URL input to smooth the process of adding a feed.
-rw-r--r--app/views/subscription/add.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml
index 989cac21a..44b3a8528 100644
--- a/app/views/subscription/add.phtml
+++ b/app/views/subscription/add.phtml
@@ -27,7 +27,7 @@
<div class="form-group">
<label class="group-name" for="url_rss"><?= _t('sub.feed.url') ?></label>
<div class="group-controls">
- <input id="url_rss" name="url_rss" type="url" required="required" autocomplete="off" class="long"/>
+ <input id="url_rss" name="url_rss" type="url" required="required" autocomplete="off" class="long" autofocus="autofocus" />
</div>
</div>