Drop focus after field has been filled
This commit is contained in:
parent
e9e780ac56
commit
8d091b2ae8
@ -344,10 +344,12 @@ cat <<EOF
|
|||||||
if (input.type == "text" || input.type == "email") {
|
if (input.type == "text" || input.type == "email") {
|
||||||
input.focus();
|
input.focus();
|
||||||
input.value = "$(javascript_escape "${username}")";
|
input.value = "$(javascript_escape "${username}")";
|
||||||
|
input.blur();
|
||||||
}
|
}
|
||||||
if (input.type == "password") {
|
if (input.type == "password") {
|
||||||
input.focus();
|
input.focus();
|
||||||
input.value = "$(javascript_escape "${password}")";
|
input.value = "$(javascript_escape "${password}")";
|
||||||
|
input.blur();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user