Better CSS
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 36s

This commit is contained in:
2024-12-17 22:34:05 +01:00
parent 8d9f714701
commit 5d6b621a99
7 changed files with 46 additions and 33 deletions

View File

@@ -18,6 +18,11 @@ function closeModal(modalId) {
}
}
function nextModal(currentModalId, nextModalId) {
closeModal(currentModalId); // Luk den nuværende modal
openModal(nextModalId); // Åbn den næste modal
}
// Ensure all modals are hidden on page load
document.addEventListener('DOMContentLoaded', () => {
const modals = document.querySelectorAll('.modal'); // Select all modals