More style fixes for signup.js

(imported from commit 15303c4e0dbf342da752d5f215cbcb0e8c6652f5)
This commit is contained in:
Keegan McAllister 2012-10-04 11:05:34 -04:00
parent fcfcf834a1
commit c1c8ce9e53
1 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ $(function () {
}, },
success: function (label) { success: function (label) {
label.parent().parent().removeClass('error').addClass('success'); label.parent().parent().removeClass('error').addClass('success');
}, }
}); });
$("#email_signup").validate({ $("#email_signup").validate({
@ -36,10 +36,10 @@ $(function () {
$('#errors').empty(); $('#errors').empty();
element.parent().parent().removeClass('success').addClass('error'); element.parent().parent().removeClass('success').addClass('error');
error.appendTo("#errors") error.appendTo("#errors")
.addClass("text-error") .addClass("text-error");
}, },
success: function (label) { success: function (label) {
label.parent().parent().removeClass('error').addClass('success'); label.parent().parent().removeClass('error').addClass('success');
}, }
}); });
}); });