diff options
| author | 2021-01-04 14:31:31 -0500 | |
|---|---|---|
| committer | 2021-01-04 20:31:31 +0100 | |
| commit | 739080ff104786f5816ae96d98289e3e7f55b6b9 (patch) | |
| tree | 92edae9b9ad907a8049ec1d865e1e5c7c907c6f8 | |
| parent | 27e5d539d0a1cbed3cf8523f3a383b54c495c512 (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.phtml | 2 |
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> |
