Pārlūkot izejas kodu

autofocus formLogin

Implémente
https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32710864
Alexandre Alapetite 12 gadi atpakaļ
vecāks
revīzija
afbb608f1e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      app/views/index/formLogin.phtml

+ 1 - 1
app/views/index/formLogin.phtml

@@ -10,7 +10,7 @@ if (Minz_Configuration::canLogIn()) {
 			<div class="form-group">
 				<label class="group-name" for="username"><?php echo Minz_Translate::t('username'); ?></label>
 				<div class="group-controls">
-					<input type="text" id="username" name="username" size="16" required="required" maxlength="16" pattern="[0-9a-zA-Z]{1,16}" />
+					<input type="text" id="username" name="username" size="16" required="required" maxlength="16" pattern="[0-9a-zA-Z]{1,16}" autofocus="autofocus" />
 				</div>
 			</div>
 			<div class="form-group">