Skip to content

Commit

Permalink
Check menu item has dropdown submenu items
Browse files Browse the repository at this point in the history
  • Loading branch information
szakitibi authored Mar 13, 2024
1 parent 26743bd commit 57611a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plone/app/contentmenu/contentmenu.pt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
aria-expanded="${python:'false' if submenu else ''}"
href="#"
data-bs-offset="0,0"
data-bs-toggle="dropdown"
data-bs-toggle="${python: 'dropdown' if submenu else ''}"
tal:define="
state_class menuItem/extra/class | nothing;
state_class python:'label-%s' % state_class if state_class else '';
Expand Down

0 comments on commit 57611a0

Please sign in to comment.