From 93532e65ca30bc22a88208e4dad25f4ccb9f13e7 Mon Sep 17 00:00:00 2001 From: Musselman Date: Wed, 29 Nov 2023 18:38:02 -0600 Subject: [PATCH] Update Singup Modal Javascript --- static/build/index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/static/build/index.js b/static/build/index.js index 6593488..5f70e57 100644 --- a/static/build/index.js +++ b/static/build/index.js @@ -79,7 +79,6 @@ function submitSignup() { submitBtn.innerHTML = ''; submitBtn.appendChild(spinner); - // Get the values of the signup form fields const name = document.getElementById("name").value; const email = document.getElementById("email").value; @@ -112,15 +111,12 @@ function submitSignup() { console.error(error); }); - // Enable the button and remove the spinner after 5 seconds setTimeout(function () { submitBtn.disabled = false; submitBtn.innerHTML = 'Sign Up'; }, 5000); sleep(5000).then(() => { submitBtn.disabled = false; }); - - }