font
Browse files- 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('
|
| 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 |
}
|