Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +3 -6
templates/index.html
CHANGED
@@ -269,12 +269,9 @@
|
|
269 |
statusText.textContent = `Thank you for registering, ${name}!`;
|
270 |
statusMessage.style.display = 'block';
|
271 |
setTimeout(() => {
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
window.location.reload();
|
276 |
-
}, 15000); // 15 seconds delay for refresh
|
277 |
-
}, 6000); // 6 seconds delay for showing confirmation message
|
278 |
}
|
279 |
} else {
|
280 |
speak("There was an error submitting your details. Please try again.");
|
|
|
269 |
statusText.textContent = `Thank you for registering, ${name}!`;
|
270 |
statusMessage.style.display = 'block';
|
271 |
setTimeout(() => {
|
272 |
+
// Directly refresh after 15 seconds from displaying the message
|
273 |
+
window.location.reload();
|
274 |
+
}, 15000); // 15 seconds delay for refresh
|
|
|
|
|
|
|
275 |
}
|
276 |
} else {
|
277 |
speak("There was an error submitting your details. Please try again.");
|