Blur username/password on submit.
This commit is contained in:
1 parent
f0ac6f8969
commit
b701b0e6b0
1 file changed
+4
@@ -218,6 +218,10 @@
|
|||||||
if (xhr.status != 200)
|
if (xhr.status != 200)
|
||||||
throw new Error("Invalid login");
|
throw new Error("Invalid login");
|
||||||
|
|
||||||
|
// Ensure username/password fiels are blurred after submit
|
||||||
|
username.blur();
|
||||||
|
password.blur();
|
||||||
|
|
||||||
resetUI();
|
resetUI();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user