From f42355c4a1af30b921501efa0efb3f7056cbfe3a Mon Sep 17 00:00:00 2001 From: "eoghan.conlon" Date: Tue, 8 Aug 2023 18:38:13 +0100 Subject: [PATCH] Form default behaviour is now skipped --- src/recovery.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/recovery.html b/src/recovery.html index d8fcfef..826557c 100644 --- a/src/recovery.html +++ b/src/recovery.html @@ -25,6 +25,7 @@ formEl.addEventListener('submit', (listener) => formHandler(listener)); function formHandler(listener){ + listener.preventDefault(); alert('Not implemented yet'); }