lokesh341 commited on
Commit
3b4f8a4
·
verified ·
1 Parent(s): d34287b

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +3 -2
templates/index.html CHANGED
@@ -270,10 +270,11 @@
270
  statusMessage.style.display = 'block';
271
  setTimeout(() => {
272
  statusText.textContent = 'Submitted Successfully!';
 
273
  setTimeout(() => {
274
- window.location.reload(); // Refresh after 15 seconds
275
  }, 15000); // 15 seconds delay for refresh
276
- }, 6000);
277
  }
278
  } else {
279
  speak("There was an error submitting your details. Please try again.");
 
270
  statusMessage.style.display = 'block';
271
  setTimeout(() => {
272
  statusText.textContent = 'Submitted Successfully!';
273
+ // Wait 6 seconds for confirmation, then refresh after 15 seconds
274
  setTimeout(() => {
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.");