diff options
-rw-r--r-- | web/js/fixmystreet.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js index a9ada1fd5..c5800e5a2 100644 --- a/web/js/fixmystreet.js +++ b/web/js/fixmystreet.js @@ -75,7 +75,7 @@ $(function(){ } form.submit(); - } + }, }); /* set correct required status depending on what we submit */ @@ -94,6 +94,9 @@ $(function(){ $('#form_name').addClass('required'); } ); + $('#update_post').click( function(e) { + $('#form_name').addClass('required').removeClass('valid'); + } ); $('#email_alert').click(function(e) { if (!$('#email_alert_box').length) |