Skip to content

Commit

Permalink
fix: Fix Computing of Menu stickiness behavior switch param - MEED-7548
Browse files Browse the repository at this point in the history
… - Meeds-io/meeds#2430 (#977)

Prior to this change, the Left menu space is still displayed even when
the request param 'sticky=false' is used. This change ensures to
retrieve the right value for Branding Preview UI.
  • Loading branch information
boubaker authored Sep 26, 2024
1 parent be9abcd commit 6005360
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
if (rcontext.getRequestParameter("sticky") == null) {
stickyMenu = uicomponent.isMenuSticky();
} else {
stickyMenu = rcontext.getRequestParameter("sticky");
stickyMenu = rcontext.getRequestParameter("sticky").equals("true");
}
if (stickyMenu) {
bodyClasses += " HamburgerMenuSticky";
Expand Down

0 comments on commit 6005360

Please sign in to comment.