Actually focus username in login dropdown
This commit is contained in:
parent
0c87f611e9
commit
dc5fd8bc10
@ -584,7 +584,7 @@ jQuery(document).ready(function($) {
|
|||||||
// Focus the username field if the login field has opened
|
// Focus the username field if the login field has opened
|
||||||
$("#nav-login").slideToggle(animationRate, function () {
|
$("#nav-login").slideToggle(animationRate, function () {
|
||||||
if ($(this).parent().hasClass("open")) {
|
if ($(this).parent().hasClass("open")) {
|
||||||
$("input#username").focus()
|
$("input#username-pulldown").focus()
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user