From c980157ecaf964d164193c9604b90c7ce2876c03 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 1 Feb 2014 20:27:25 +0100 Subject: [PATCH] Fixed wrong login or password annotation (#71) --- assets/js/modules/lychee.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/modules/lychee.js b/assets/js/modules/lychee.js index feacb24..462ab03 100644 --- a/assets/js/modules/lychee.js +++ b/assets/js/modules/lychee.js @@ -116,7 +116,7 @@ var lychee = { localStorage.setItem("username", user); window.location.reload(); } else { - $("#password").val("").addClass("error"); + $("#password").val("").addClass("error").focus(); $(".message .button.active").removeClass("pressed"); } });