Skip to content

Commit 264ba71

Browse files
authored
Merge pull request #2230 from wnhrt/add-autofocus-to-login
Added autofocus to email input on login screen
2 parents e229fa8 + 84afec5 commit 264ba71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/js/login/ui/login.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="card-title"><%- i18n('login', 'title') %></div>
1818
<div class="form-group">
1919
<label class="form-label"><%- i18n('str', 'email-address') %></label>
20-
<input name="identity" type="email" class="form-control" placeholder="<%- i18n('str', 'email-address') %>" required>
20+
<input name="identity" type="email" class="form-control" placeholder="<%- i18n('str', 'email-address') %>" required autofocus>
2121
</div>
2222
<div class="form-group">
2323
<label class="form-label"><%- i18n('str', 'password') %></label>

0 commit comments

Comments
 (0)