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
1 changed files with 2 additions and 2 deletions

View File

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