From a7f0901e461e78092aecd884c62d45541c7df7f3 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Mon, 16 Dec 2024 12:43:43 -0500 Subject: [PATCH] fix duplicate calls to submitForm --- docs/newsletter/subscribe.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/newsletter/subscribe.md b/docs/newsletter/subscribe.md index bab07789ca..c14e07bc13 100644 --- a/docs/newsletter/subscribe.md +++ b/docs/newsletter/subscribe.md @@ -58,6 +58,4 @@ You can unsubscribe at any time. subscribeButton.disabled = false; } } - - document.querySelector('button#subscribe').addEventListener('click', submitForm);