Reverted the default focus in username field

This commit is contained in:
Manuel Cillero 2017-09-24 22:24:19 +02:00
parent f339ddbec3
commit d0389fd411
3 changed files with 4 additions and 6 deletions

View file

@ -1327,8 +1327,6 @@ function user_login(&$form_state) {
$form['#validate'] = user_login_default_validators();
$form['submit'] = array('#type' => 'submit', '#value' => t('Log in'), '#weight' => 2);
drupal_add_js('$jq(function(){$("#edit-name").focus();});', 'inline', 'footer');
return $form;
}