wip
This commit is contained in:
parent
0837257b1d
commit
d50da0ccb3
@ -31,7 +31,6 @@ document.addEventListener('DOMContentLoaded', function (event) {
|
|||||||
menuWrappers.forEach(menuWrapper => {
|
menuWrappers.forEach(menuWrapper => {
|
||||||
const menu = menuWrapper.querySelector('.menu');
|
const menu = menuWrapper.querySelector('.menu');
|
||||||
menu.addEventListener('click', e => {
|
menu.addEventListener('click', e => {
|
||||||
console.log(menuWrapper);
|
|
||||||
menuWrapper.classList.toggle('is-closed');
|
menuWrapper.classList.toggle('is-closed');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user