REFACTOR Remove console log from menuInit function in header.js
This commit is contained in:
parent
e3c01dc013
commit
367eb9810e
|
|
@ -31,7 +31,6 @@ export default function menuInit() {
|
||||||
const header = document.querySelector(
|
const header = document.querySelector(
|
||||||
'#primary-header'
|
'#primary-header'
|
||||||
);
|
);
|
||||||
console.log(header.contains(document.activeElement));
|
|
||||||
if (
|
if (
|
||||||
header.classList.contains('nav-open') &&
|
header.classList.contains('nav-open') &&
|
||||||
!header.contains(document.activeElement)
|
!header.contains(document.activeElement)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user