Skip to content

Commit

Permalink
fixed error states
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vallelunga committed Apr 6, 2014
1 parent ea448bd commit 916406e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $(function() {
if(response.success) {
window.location.href = response.next;
} else {
form.find(".button").addClass("error").val(response.error_message);
form.find(".button").eq(0).addClass("error").val(response.error_message);
}
});
});
Expand Down

0 comments on commit 916406e

Please sign in to comment.