Skip to content

Commit

Permalink
fix(frontend): insert the menu toggle button in the correct wrapper e…
Browse files Browse the repository at this point in the history
…lement within the HTML markup
  • Loading branch information
mercihabam committed Dec 9, 2024
1 parent f28d519 commit 21224cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/navigation/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $(() => {
</div>
`

$('.mobile nav').before(menuToggle);
$('.mobile .cypht-layout nav').before(menuToggle);

$(document).on('click', '.cypht-layout .menu-toggle', showMobileNavbar);
$(document).on('click', '.cypht-layout nav .menu-toggle', hideMobileNavbar)
Expand Down

0 comments on commit 21224cc

Please sign in to comment.