mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
commento.js: focus on field based on login box type
This commit is contained in:
@ -1250,7 +1250,10 @@
|
||||
append(loginBox, fieldContainer);
|
||||
}
|
||||
|
||||
$(ID_LOGIN_BOX_PASSWORD_INPUT).focus();
|
||||
if (loginBoxType == "signup")
|
||||
$(ID_LOGIN_BOX_PASSWORD_NAME).focus();
|
||||
else
|
||||
$(ID_LOGIN_BOX_PASSWORD_INPUT).focus();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user