Corrige abertura do submenu mobile
This commit is contained in:
parent
f7f5a421e6
commit
f28b2bf928
@ -37,7 +37,9 @@ export default class Menu {
|
||||
|
||||
const link = $(event.target);
|
||||
|
||||
link.siblings('.submenu').addClass('is-open');
|
||||
link.parents('.main-menu__department')
|
||||
.find('.submenu')
|
||||
.addClass('is-open');
|
||||
}
|
||||
|
||||
closeSubmenu(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user