jebin2 commited on
Commit
5aa4aa7
·
1 Parent(s): 502b7ce
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -675,7 +675,7 @@
675
  function goToLogin() {
676
  const statusDiv = document.getElementById('saveStatus');
677
  // Check if there are unsaved changes
678
- if (!statusDiv.className.includes('Saved')) {
679
  if (!confirm('You have unsaved changes. Are you sure you want to leave?')) {
680
  return;
681
  }
 
675
  function goToLogin() {
676
  const statusDiv = document.getElementById('saveStatus');
677
  // Check if there are unsaved changes
678
+ if (!statusDiv.className.includes('saved')) {
679
  if (!confirm('You have unsaved changes. Are you sure you want to leave?')) {
680
  return;
681
  }