From c41a897be2ce939e5ce363bc9beddfed80069748 2014-12-02 23:02:32 From: Bradley M. Kuhn Date: 2014-12-02 23:02:32 Subject: [PATCH] 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. --- diff --git a/www/conservancy/static/supporter-page.js b/www/conservancy/static/supporter-page.js index d02b5dbc1185204030e43c021710d44e8ba655cd..68952c4921925adfd57bd9fa2439c230f09cbd78 100644 --- a/www/conservancy/static/supporter-page.js +++ b/www/conservancy/static/supporter-page.js @@ -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();