Use oninput instead of the less reliable onkeyup
This commit is contained in:
parent
bf173027a1
commit
7e4f2fdf71
|
@ -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']) {
|
||||||
|
|
Loading…
Reference in New Issue