Skip to content

Commit

Permalink
Remove superflous "x" from menu template
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Feb 28, 2024
1 parent eb85690 commit bcc8cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangocms_frontend/templates/bootstrap5/menu.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load i18n menu_tags cache %}{% spaceless %}
{% for child in children %}
<li class="nav-item text-center {% if child.ancestor %}ancestor{% endif %}{% if child.children %} dropdown{% endif %}">
{% if child.children %}<a class="nav-link dropdown-toggle{% if child.selected %} active{% endif %}" role="button" data-bs-toggle="dropdown" data-request="{{ request.path }}" x href="{{ child.get_absolute_url }}" id="menu-{{ child.id|safe }}">{{ child.get_menu_title }}</a>
{% if child.children %}<a class="nav-link dropdown-toggle{% if child.selected %} active{% endif %}" role="button" data-bs-toggle="dropdown" data-request="{{ request.path }}" href="{{ child.get_absolute_url }}" id="menu-{{ child.id|safe }}">{{ child.get_menu_title }}</a>
<div class="dropdown-menu" aria-labelledby="menu-{{ child.ancestor.id|safe }}">
{% show_menu from_level to_level extra_inactive extra_active "bootstrap5/dropdown.html" "" "" child %}
</div>
Expand Down

0 comments on commit bcc8cb5

Please sign in to comment.