Skip to content

Commit

Permalink
Add 'type="button"' to prevent form submission (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: Jesper Nysteen <code@jnysteen.com>
  • Loading branch information
flekschas and jnysteen authored Jun 23, 2022
1 parent e96a413 commit d7b9371
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@
aria-label="Close modal"
on:click={close}
style={cssCloseButton}
type="button"
/>
{/if}
{/if}
Expand Down

0 comments on commit d7b9371

Please sign in to comment.