mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-16 14:07:49 +01:00
burger bouton down =(
This commit is contained in:
parent
7d1426d7a1
commit
63c1c58852
@ -307,24 +307,24 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
}
|
||||
}
|
||||
|
||||
// Ajouter les gestionnaires d'événements
|
||||
menuButton.addEventListener('click', toggleMenu);
|
||||
//menuButton.addEventListener('click', toggleMenu);
|
||||
|
||||
/* if (menuButton) {
|
||||
if (menuButton) {
|
||||
console.log("menu bouton ok")
|
||||
menuButton.addEventListener('click', toggleMenu);
|
||||
}
|
||||
|
||||
const links = document.querySelectorAll('#dropdown-menu a');
|
||||
console.log("Here !!!!!!!!!!!!");
|
||||
console.log(links);
|
||||
const links = document.querySelectorAll('#dropdown-menu a');
|
||||
console.log("Here !!!!!!!!!!!!");
|
||||
console.log(links);
|
||||
|
||||
links.forEach(link => {
|
||||
link.addEventListener('click', (event) => {
|
||||
event.preventDefault(); // Empêche le comportement par défaut du lien
|
||||
const tableId = link.getAttribute('data-table');
|
||||
//showTable(tableId);
|
||||
});
|
||||
links.forEach(link => {
|
||||
link.addEventListener('click', (event) => {
|
||||
event.preventDefault(); // Empêche le comportement par défaut du lien
|
||||
const tableId = link.getAttribute('data-table');
|
||||
//showTable(tableId);
|
||||
});
|
||||
} */
|
||||
});
|
||||
|
||||
|
||||
function fetchMatches() {
|
||||
|
||||
@ -129,7 +129,7 @@
|
||||
<div class="paddle paddle-right"></div>
|
||||
<div class="ball_anim"></div>
|
||||
</div>
|
||||
<button id="settings-btn">⚙️ Réglages TzOTO</button>
|
||||
<button id="settings-btn">⚙️ Réglages</button>
|
||||
<div id="settings-menu" style="display: none;">
|
||||
<button id="close-settings">✖️</button>
|
||||
<h2>Reglages</h2>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user