From b632b81067c7f7ae264434c49637b8f92d4087a9 Mon Sep 17 00:00:00 2001 From: Merci Jacob <68013195+mercihabam@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:49:14 +0200 Subject: [PATCH] fix(frontend): insert the menu toggle button in the correct wrapper element within the HTML markup (#1403) --- modules/core/navigation/navbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/navigation/navbar.js b/modules/core/navigation/navbar.js index edcfdd68f..1a59c3820 100644 --- a/modules/core/navigation/navbar.js +++ b/modules/core/navigation/navbar.js @@ -11,7 +11,7 @@ $(() => { ` - $('.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)