feature/development #1

Merged
ManuelaLuanaSchumackerTavares merged 15 commits from feature/development into main 2022-12-07 22:53:14 +00:00
Showing only changes of commit 00b220909f - Show all commits

View File

@ -36,7 +36,9 @@ export default class Menu {
event.preventDefault(); event.preventDefault();
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) {