This commit is contained in:
KONE SOREL 2026-01-05 11:52:22 +00:00
parent 65b2484e08
commit 9709ce2d74

View File

@ -759,6 +759,8 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
return; return;
} }
// Rendez le bouton accessible aux clics clavier // Rendez le bouton accessible aux clics clavier
toggleBtn.setAttribute("role", "button"); toggleBtn.setAttribute("role", "button");
toggleBtn.setAttribute("tabindex", "0"); toggleBtn.setAttribute("tabindex", "0");
@ -775,6 +777,9 @@ $photoAssureCrypte = $_SESSION['photoAssureCrypte'];
toggle(); toggle();
} }
}); });
console.log("btn:", toggleBtn);
console.log("sidebarCollapsedBefore:", document.body.classList.contains("sidebar-collapsed"));
}); });
</script> </script>
</body> </body>