Skip to content
Snippets Groups Projects
Commit ed1c3cf9 authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-4199: Remove unnecessary classes

Fixes issue introduced in 5f333f93.

Original issue prevented duplicate class attributes by combining all the
classes. But the extra class attributes had been ignored by browsers.
This returns it to just the classes present previously.
parent 5356b201
No related branches found
No related tags found
1 merge request!23Remove unnecessary classes
......@@ -125,11 +125,7 @@
<li class="menu--item menu--item__parent">
{% set link_attributes_1 = {
'class': link_attributes.class|merge(['menu--link-parent']),
'href': parent.url
} %}
<a{{ add_attributes(link_attributes_1) }}>
<a href="{{ parent.url }}" class="menu--link-parent">
<span class="link-text">
{% if parent.title %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment