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 (#1403)
  • Loading branch information
mercihabam authored Dec 9, 2024
1 parent f28d519 commit b632b81
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 b632b81

Please sign in to comment.