1
0

entity-form.js 226 B

1234567891011121314
  1. class EntityForm {
  2. constructor() {
  3. $("#create-location").on("change", event => {
  4. const checked = event.currentTarget.checked;
  5. $("#contact-section").prop("hidden", !checked);
  6. });
  7. }
  8. }
  9. $(() => new EntityForm());