Use oninput instead of the less reliable onkeyup

This commit is contained in:
Yorin Anne De Jong 2017-10-23 16:08:14 +02:00
parent bf173027a1
commit 7e4f2fdf71

View File

@ -25,11 +25,11 @@ if (strlen($this->data['username']) > 0) {
if (!$this->data['username']) {
echo ' autofocus';
}
} ?> value="<?php echo htmlspecialchars($this->data['username']); ?>" onkeyup="setSubmit()">
} ?> value="<?php echo htmlspecialchars($this->data['username']); ?>" oninput="setSubmit()">
<p><input id="password" type="password" tabindex="2" name="password" placeholder="<?php echo $this->t('{login:password}'); ?>" required
<?php if ($this->data['username']) {
echo ' autofocus';
} ?> onkeyup="setSubmit()">
} ?> oninput="setSubmit()">
</div>
<?php
if ($this->data['rememberMeEnabled']) {