We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48d4c3d commit c4dfa51Copy full SHA for c4dfa51
src/bundle/Resources/views/themes/admin/ui/menu/anchor_menu.html.twig
@@ -49,7 +49,7 @@
49
{%- if loop.first %}
50
{%- set itemClass = itemClass ~ ' ibexa-anchor-navigation-menu__sections-item-btn--active' %}
51
{%- endif %}
52
- {%- do item.setAttribute('data-target-id', "#" ~ item.getAttribute('data-target-id')) -%}
+ {%- do item.setAttribute('data-target-id', "#" ~ item.getAttribute('data-target-id')|lower|slug) -%}
53
{%- do item.setAttribute('class', (item.getAttribute('class') ~ ' ' ~ itemClass)|trim) -%}
54
{%- do item.setAttribute('type', 'button') -%}
55
{%- do item.setLabelAttribute('class', 'ibexa-anchor-navigation-menu__sections-item-btn-label') -%}
0 commit comments