mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
Autofocus login and password interstitial input boxes.
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
<li>
|
||||
<label for="user_${op}">${_('username')}:</label>
|
||||
<input value="${user}" name="user" id="user_${op}"
|
||||
type="text" maxlength="20" tabindex="${tabindex}"/>
|
||||
type="text" maxlength="20" tabindex="${tabindex}" autofocus />
|
||||
%if register:
|
||||
${error_field("BAD_USERNAME", "user", kind="span")}
|
||||
${error_field("USERNAME_TAKEN", "user", kind="span")}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
% if thing.dest:
|
||||
<input type="hidden" name="dest" value="${thing.dest}" />
|
||||
% endif
|
||||
<input type="password" name="password" tabindex="1" />
|
||||
<input type="password" name="password" tabindex="1" autofocus />
|
||||
${error_field("WRONG_PASSWORD", "password")}
|
||||
</%utils:round_field>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user