mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 18:57:08 +01:00
tournoi ready to get some data
This commit is contained in:
@@ -271,6 +271,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
//}
|
||||
//})
|
||||
|
||||
//if (menuButton) {
|
||||
//console.log("menu bouton ok")
|
||||
menuButton.addEventListener('click', toggleMenu);
|
||||
//}
|
||||
|
||||
function toggleMenu() {
|
||||
console.log('Menu toggled');
|
||||
if (dropdownMenu.style.display === "block") {
|
||||
@@ -280,11 +285,6 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
}
|
||||
|
||||
if (menuButton) {
|
||||
//console.log("menu bouton ok")
|
||||
menuButton.addEventListener('click', toggleMenu);
|
||||
}
|
||||
|
||||
const links = document.querySelectorAll('#dropdown-menu a');
|
||||
//console.log(links);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user