mirror of https://github.com/zulip/zulip.git
More style fixes for signup.js
(imported from commit 15303c4e0dbf342da752d5f215cbcb0e8c6652f5)
This commit is contained in:
parent
fcfcf834a1
commit
c1c8ce9e53
|
@ -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');
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue