Simply clear error for monthly donation.

Since the error messages relate only to the amount entered, the error
message should be cleared when switching to the monthly giving option.
This commit is contained in:
Bradley M. Kuhn 2014-12-02 18:02:32 -05:00
parent c546833984
commit c41a897be2

View file

@ -70,6 +70,7 @@ $(document).ready(function() {
$('.supporter-type-selection#monthly').show();
$('#monthlySelector').css("font-weight", "bold").css("font-size", "127%");
$('#annualSelector').css("font-weight", "normal").css("font-size", "125%");
$("#form-correction-needed").removeClass("form-error-show").addClass("form-error");
});
$("a[href$='annual']").bind('click', function() {
$('.supporter-type-selection#annual').show();