REFACTOR Cleaning uncessary console.log

This commit is contained in:
Antoine M 2025-06-10 14:59:40 +02:00
parent 11ead48ff0
commit 913db41e0e

View File

@ -31,7 +31,6 @@ export default function menuInit() {
const header = document.querySelector(
'#primary-header'
);
console.log(header.contains(document.activeElement));
if (
header.classList.contains('nav-open') &&
!header.contains(document.activeElement)