From 1205690dcba2f744594435311205bf75bae40ce9 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Sat, 4 Apr 2026 15:34:08 -0500 Subject: [PATCH] Load Bootstrap collapse component for mobile menu toggle The navbar hamburger uses data-bs-toggle="collapse" but the Bootstrap collapse JS was never loaded. Now loaded unconditionally since the main menu always needs it on mobile viewports. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.php b/src/index.php index 3ebf99e..4fc14e0 100644 --- a/src/index.php +++ b/src/index.php @@ -179,8 +179,8 @@ if ($this->countModules('drawer-left', true)) { $hasClass .= ' has-drawer-left if ($this->countModules('drawer-right', true)) { $hasClass .= ' has-drawer-right'; } // Smart Bootstrap component loading - only load what's needed +HTMLHelper::_('bootstrap.collapse'); if ($this->countModules('drawer-left', true) || $this->countModules('drawer-right', true)) { - // Load Bootstrap Offcanvas component for drawers HTMLHelper::_('bootstrap.offcanvas'); }