Spaces:
Running
Running
make it so the fill again button to reload the attendance form works
Browse files- students-ate.html +4 -5
students-ate.html
CHANGED
|
@@ -634,12 +634,11 @@ method: 'PUT',
|
|
| 634 |
document.getElementById('student-container').classList.add('hidden');
|
| 635 |
|
| 636 |
// Hide success message and show form
|
| 637 |
-
|
| 638 |
-
|
| 639 |
-
document.getElementById('menu-display-container').classList.add('hidden');
|
| 640 |
|
| 641 |
-
//
|
| 642 |
-
|
| 643 |
}
|
| 644 |
// Update menu periodically to reflect current meal time
|
| 645 |
setInterval(() => {
|
|
|
|
| 634 |
document.getElementById('student-container').classList.add('hidden');
|
| 635 |
|
| 636 |
// Hide success message and show form
|
| 637 |
+
document.getElementById('success-message').classList.add('hidden');
|
| 638 |
+
document.getElementById('attendance-form').classList.remove('hidden');
|
|
|
|
| 639 |
|
| 640 |
+
// Reset meal time display if needed
|
| 641 |
+
document.getElementById('menu-display-container').classList.add('hidden');
|
| 642 |
}
|
| 643 |
// Update menu periodically to reflect current meal time
|
| 644 |
setInterval(() => {
|