Skip to content

Commit

Permalink
fix(html): duplicate id
Browse files Browse the repository at this point in the history
Error: Duplicate ID navbarDropdown.
Source: Nu Html Checker
  • Loading branch information
Rotzbua committed Jan 4, 2024
1 parent 7790f08 commit 230f4c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
{% endfor %}
<div class="nav-item ml-2 ml-sm-1 text-center">
<li class="nav-item dropdown mb-0">
<button class="nav-link dropdown-toggle" id="navbarDropdown" aria-label="{% t generic.accessibility.lang-menu %}"
<button class="nav-link dropdown-toggle" id="navbarDropdown1" aria-label="{% t generic.accessibility.lang-menu %}"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-globe size-16 color-gray-900"></i><span
class="ml-1 size-16 color-gray-900 weight-600">{{ site.lang | upcase }}</span>
</button>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdown1">
{% include nav_languages.html %}
</div>
</li>
Expand All @@ -40,12 +40,12 @@
<div class="d-xl-none">
<div class="nav-item text-center d-inline-block">
<div class="nav-item dropdown">
<button class="nav-link dropdown-toggle" id="navbarDropdown" aria-label="{% t generic.accessibility.lang-menu %}"
<button class="nav-link dropdown-toggle" id="navbarDropdown2" aria-label="{% t generic.accessibility.lang-menu %}"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-globe size-16 color-gray-900"></i><span
class="ml-1 size-16 color-gray-900 weight-600">{{ site.lang | upcase }}</span>
</button>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu" aria-labelledby="navbarDropdown2">
{% include nav_languages.html %}
</div>
</div>
Expand Down

0 comments on commit 230f4c1

Please sign in to comment.