🐛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:
thelastWallEandGina Häußge authored and GitHub committed 2021-10-26 16:37:25 +02:00
1 parent f8f4225e8d
commit a1dee07d76
2 files changed
+2

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ $(function () {
.fail(function () {
usernameElement.val("");
passwordElement.val("");
usernameElement.focus();
overlayElement.removeClass("in");
errorElement.addClass("in");