diff --git a/conservancy/static/js/supporter-page.js b/conservancy/static/js/supporter-page.js index b3f03930..3bee587b 100644 --- a/conservancy/static/js/supporter-page.js +++ b/conservancy/static/js/supporter-page.js @@ -36,11 +36,12 @@ if (window.location.hash === "#renew") { window.location.hash = "#renewal"; } +var $formCorrectionNeeded = $('#form-correction-needed'); + function init_sustainer_form_validation () { // Forms start in "invalid" form, with the errors shown, so that // non-Javascript users see the errors by default and know what they must // enter. Now we hide those for JavaScript users: - var $formCorrectionNeeded = $('#form-correction-needed'); $formCorrectionNeeded.addClass('hidden'); $('form.supporter-form').each(function(index, form) {