This commit is contained in:
Bruno Rybársky 2024-02-06 20:58:14 +01:00
parent 77e8cfe3ea
commit ee3d2810c0

@ -1,10 +1,4 @@
let UserInfo = {};
const toggleButton = document.getElementById("toggle_button")
const navLinks = document.getElementById("navsite_list")
toggleButton.addEventListener('click', () => {
navLinks.classList.toggle("active")
})
async function handleResponse(data, successMessage, failureMessage) {
const statusMessageContainer = document.getElementById("statusMessageContainer");
@ -154,6 +148,12 @@ async function initAjax() {
}
});
});
const toggleButton = document.getElementById("toggle_button")
const navLinks = document.getElementById("navsite_list")
toggleButton.addEventListener('click', () => {
navLinks.classList.toggle("active")
})
await onPageLoad();
}