Fixed wrong login or password annotation (#71)

This commit is contained in:
Tobias Reich 2014-02-01 20:27:25 +01:00
parent 447d1298b9
commit c980157eca

View File

@ -116,7 +116,7 @@ var lychee = {
localStorage.setItem("username", user); localStorage.setItem("username", user);
window.location.reload(); window.location.reload();
} else { } else {
$("#password").val("").addClass("error"); $("#password").val("").addClass("error").focus();
$(".message .button.active").removeClass("pressed"); $(".message .button.active").removeClass("pressed");
} }
}); });