REMOVE Remove console log statements from app.js to clean up code
This commit is contained in:
parent
2c730b5db1
commit
f22e6b495e
|
|
@ -19,7 +19,6 @@
|
||||||
});
|
});
|
||||||
document.addEventListener("focusin", (e) => {
|
document.addEventListener("focusin", (e) => {
|
||||||
const header2 = document.querySelector("#primary-header");
|
const header2 = document.querySelector("#primary-header");
|
||||||
console.log(header2.contains(document.activeElement));
|
|
||||||
if (header2.classList.contains("nav-open") && !header2.contains(document.activeElement)) {
|
if (header2.classList.contains("nav-open") && !header2.contains(document.activeElement)) {
|
||||||
header2.classList.remove("nav-open");
|
header2.classList.remove("nav-open");
|
||||||
burgerMenuToggle.setAttribute("aria-expanded", false);
|
burgerMenuToggle.setAttribute("aria-expanded", false);
|
||||||
|
|
@ -36,8 +35,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// resources/js/app.js
|
// resources/js/app.js
|
||||||
console.log("menuInit");
|
|
||||||
console.log("menuIniteeeee");
|
|
||||||
window.addEventListener("load", function() {
|
window.addEventListener("load", function() {
|
||||||
menuInit();
|
menuInit();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user