Skip to content

Commit

Permalink
fix duplicate calls to submitForm
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Dec 16, 2024
1 parent 0b3fc15 commit a7f0901
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/newsletter/subscribe.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,4 @@ You can unsubscribe at any time.
subscribeButton.disabled = false;
}
}

document.querySelector('button#subscribe').addEventListener('click', submitForm);
</script>

0 comments on commit a7f0901

Please sign in to comment.