commento.js: focus on field based on login box type
This commit is contained in:
parent
ddf345ae3c
commit
3339944cf2
@ -1250,6 +1250,9 @@
|
||||
append(loginBox, fieldContainer);
|
||||
}
|
||||
|
||||
if (loginBoxType == "signup")
|
||||
$(ID_LOGIN_BOX_PASSWORD_NAME).focus();
|
||||
else
|
||||
$(ID_LOGIN_BOX_PASSWORD_INPUT).focus();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user