{"size": 250, "ext": "js", "max_stars_repo_path": "wagtailhoneypot/static/hp_form.js", "max_stars_repo_name": "suchermon/wagtailhoneypot", "max_stars_repo_stars_event_min_datetime": "2021-12-26T14:44:34.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-26T14:44:34.000Z", "max_issues_repo_path": "wagtailhoneypot/static/hp_form.js", "max_issues_repo_name": "suchermon/wagtailhoneypot", "max_issues_repo_issues_event_min_datetime": "2021-03-11T19:14:40.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-11T19:48:41.000Z", "max_forks_repo_path": "wagtailhoneypot/static/hp_form.js", "max_forks_repo_name": "suchermon/wagtailhoneypot", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 31.25, "max_line_length": 104, "alphanum_fraction": 0.688}
let submitBtn = document.querySelector('[type="submit"]');

if(submitBtn !== null) {
  submitBtn.addEventListener('click', function(e) {
    document.querySelectorAll('[data-js="hp-formfield"]').forEach(el => el.removeAttribute('required'));
  });
}
