From b55a029a5b4867349a172873d20a6ffd91c20e23 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 18 Jul 2025 15:57:57 +0200 Subject: =?UTF-8?q?petites=20am=C3=A9liorations=20smartphones,=20logo=20et?= =?UTF-8?q?=20fond=20de=20header=20et=20footer=20g=C3=A9r=C3=A9s=20dans=20?= =?UTF-8?q?NodeData?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/main.js | 65 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 27 deletions(-) (limited to 'public/js/main.js') diff --git a/public/js/main.js b/public/js/main.js index 6eb0162..2ffd33b 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -8,33 +8,6 @@ function newPassword(page, id = ''){ }, 0); } -// ouvrir/fermer les sous-menus avec écran tactile -document.addEventListener('DOMContentLoaded', () => { // sinon on ne trouve pas les boutons - document.querySelectorAll('.sub-menu-toggle').forEach(button => { - button.addEventListener('click', e => { - e.preventDefault(); - const li = button.parentElement; //