This commit is contained in:
Gaelle Morin 2018-12-03 19:53:05 +01:00
parent 0837257b1d
commit d50da0ccb3

View File

@ -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');
}); });
}); });