2021-03-24 23:50:10 +01:00
|
|
|
let burgerMenu = document.querySelector("#burgerMenu");
|
2021-03-24 22:18:55 +01:00
|
|
|
|
2021-03-24 23:50:10 +01:00
|
|
|
if(burgerMenu != null) {
|
|
|
|
burgerMenu.onclick = () => {
|
|
|
|
document.getElementById("burgerMenu").classList.toggle("change");
|
|
|
|
document.getElementById("mainMenuContainer").classList.toggle("visible");
|
|
|
|
|
|
|
|
}
|
2021-03-24 22:18:55 +01:00
|
|
|
}
|