forked from M3-Academy/vtex-cms-template-atualizado
feature/development #1
@ -36,7 +36,9 @@ export default class Menu {
|
||||
event.preventDefault();
|
||||
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