Corrige abertura do submenu mobile

This commit is contained in:
Andrea Matsunaga 2022-12-10 22:02:27 -03:00
parent f7f5a421e6
commit f28b2bf928

View File

@ -37,7 +37,9 @@ export default class Menu {
const link = $(event.target); const link = $(event.target);
link.siblings('.submenu').addClass('is-open'); link.parents('.main-menu__department')
.find('.submenu')
.addClass('is-open');
} }
closeSubmenu(event) { closeSubmenu(event) {