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 * meles5
* Philipp Hansch * Philipp Hansch
* Panagiotis Ktistakis * Panagiotis Ktistakis
* Kevin Velghe
* Artur Shaik * Artur Shaik
* Nathan Isom * Nathan Isom
* Thorsten Wißmann * Thorsten Wißmann
* Kevin Velghe
* Marshall Lochbaum * Marshall Lochbaum
* Austin Anderson * Austin Anderson
* Jimmy * Jimmy

View File

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