From 21224cc94959e689c6e73f08098b276f1a4d5c51 Mon Sep 17 00:00:00 2001 From: Merci Jacob Date: Mon, 9 Dec 2024 15:46:19 +0200 Subject: [PATCH] fix(frontend): insert the menu toggle button in the correct wrapper element within the HTML markup --- 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)