commento.js: focus on field based on login box type
This commit is contained in:
parent
ddf345ae3c
commit
3339944cf2
@ -1250,7 +1250,10 @@
|
|||||||
append(loginBox, fieldContainer);
|
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user