Skip to content

Commit

Permalink
EARTH-248: Changed attributes.id to configuration.id in menu template…
Browse files Browse the repository at this point in the history
… because empty.
  • Loading branch information
sherakama committed Jul 21, 2017
1 parent 073547f commit 4c3934a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/block/block--system-menu-block.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'menu--' ~ derivative_plugin_id|clean_class,
]
%}
{% set heading_id = attributes.id ~ '-menu'|clean_id %}
{% set heading_id = (configuration.id ~ '-menu')|clean_id %}
<nav role="navigation" aria-labelledby="{{ heading_id }}"{{ attributes.addClass(classes)|without('role', 'aria-labelledby') }}>
{# Label. If not displayed, we still provide it for screen readers. #}
{% if not configuration.label_display %}
Expand Down

0 comments on commit 4c3934a

Please # to comment.