Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -105,7 +105,7 @@
|
|
105 |
const transcript = event.results[0][0].transcript.trim();
|
106 |
|
107 |
if (isNameCaptured && !isEmailCaptured) {
|
108 |
-
const cleanedEmail = transcript.replace(/\s/g, '').replace(' at ', '@');
|
109 |
emailInput.value = cleanedEmail;
|
110 |
status.textContent = 'Registration complete.';
|
111 |
speak("Registration complete. Go to the next step and take the order you want.");
|
|
|
105 |
const transcript = event.results[0][0].transcript.trim();
|
106 |
|
107 |
if (isNameCaptured && !isEmailCaptured) {
|
108 |
+
const cleanedEmail = transcript.replace(/\s/g, '@').replace(' at ', '@');
|
109 |
emailInput.value = cleanedEmail;
|
110 |
status.textContent = 'Registration complete.';
|
111 |
speak("Registration complete. Go to the next step and take the order you want.");
|