Reverted the default focus in username field
This commit is contained in:
parent
f339ddbec3
commit
d0389fd411
3 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue