🐛Login: Refocus on username after failed login (#4249)
Fixes #4242 Co-authored-by: Gina Häußge <gina@octoprint.org>
This commit is contained in:
1 parent
f8f4225e8d
commit
a1dee07d76
2 files changed
+2
No files matched your search
@@ -39,6 +39,7 @@ $(function () {
|
||||
.fail(function () {
|
||||
usernameElement.val("");
|
||||
passwordElement.val("");
|
||||
usernameElement.focus();
|
||||
|
||||
overlayElement.removeClass("in");
|
||||
errorElement.addClass("in");
|
||||
|
||||
Reference in new issue
Block a user