diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-01-27 10:34:55 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-01-27 10:34:55 +0000 |
commit | b8083a462aebf542f6f39c4201e1f09248b7e0e7 (patch) | |
tree | ab44be742664db2dd720efc03326db0acef22dde /web/js/fixmystreet.js | |
parent | ac59f93b2228f5ff77ca7b7aff6fc3be54d360cd (diff) | |
parent | 5adabce92647a6b9e12887af7959efcfef4877d4 (diff) |
Merge branch '1146-social-login'
Conflicts:
templates/web/base/report/new/fill_in_details_form.html
templates/web/base/report/update-form.html
Diffstat (limited to 'web/js/fixmystreet.js')
-rw-r--r-- | web/js/fixmystreet.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web/js/fixmystreet.js b/web/js/fixmystreet.js index 51fa01559..312a3e294 100644 --- a/web/js/fixmystreet.js +++ b/web/js/fixmystreet.js @@ -128,6 +128,12 @@ $(function(){ $('#form_name').addClass('required').removeClass('valid'); } ); + $('#facebook_sign_in').click(function(e){ + $('#form_email').removeClass(); + $('#form_rznvy').removeClass(); + $('#email').removeClass(); + }); + // Geolocation if (geo_position_js.init()) { var link = '<a href="#LINK" id="geolocate_link">… ' + translation_strings.geolocate + '</a>'; |