Merge branch 'paretje-focuspass'

This commit is contained in:
Florian Bruhin 2016-07-27 00:15:38 +02:00
commit f460a225ef
2 changed files with 5 additions and 1 deletions

View File

@ -159,10 +159,10 @@ Contributors, sorted by the number of commits in descending order:
* meles5
* Philipp Hansch
* Panagiotis Ktistakis
* Kevin Velghe
* Artur Shaik
* Nathan Isom
* Thorsten Wißmann
* Kevin Velghe
* Marshall Lochbaum
* Austin Anderson
* Jimmy

View File

@ -342,10 +342,14 @@ cat <<EOF
for (var j = 0; j < inputs.length; j++) {
var input = inputs[j];
if (input.type == "text" || input.type == "email") {
input.focus();
input.value = "$(javascript_escape "${username}")";
input.blur();
}
if (input.type == "password") {
input.focus();
input.value = "$(javascript_escape "${password}")";
input.blur();
}
}
};