Skip to content

Commit

Permalink
Fix mods dropdown reopening after navigating back
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyrofab committed Mar 3, 2024
1 parent 0eefc09 commit 5d59849
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _layouts/default.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
<ul>
{% if page.modrinth %}
<li class="nav-item dropdown">
<input id="mod-download-dropdown-toggle" type="checkbox"/>
<input id="mod-download-dropdown-toggle" type="checkbox" autocomplete="off"/>
<label for="mod-download-dropdown-toggle">Download {% include svg/dropdown.svg %}</label>
<span class="dropdown-backdrop"></span>
<!--Filled by JS-->
<ul id="mod-download-dropdown" class="dropdown-menu"></ul>
</li>
{% endif %}
<li class="nav-item"><a href="/index.html" tabindex="0">Home</a></li>
<li class="nav-item"><a href="/about.html" tabindex="0">About Us</a></li>
<li class="nav-item"><a href="/index.html">Home</a></li>
<li class="nav-item"><a href="/about.html">About Us</a></li>
<li class="nav-item dropdown">
<input type="checkbox" id="mod-list-dropdown-toggle">
<input type="checkbox" autocomplete="off" id="mod-list-dropdown-toggle">
<label for="mod-list-dropdown-toggle">Mods {% include svg/dropdown.svg %}</label>
<span class="dropdown-backdrop"></span>
<ul id="mod-list-dropdown" class="dropdown-menu">
Expand All @@ -52,9 +52,9 @@
<!-- Will be adding Fabric libraries here "shortly" -->
</ul>
</li>
<li class="nav-item"><a href="/oldsite/" tabindex="0">Old Site</a></li>
<li class="nav-item"><a href="/oldsite/">Old Site</a></li>
<li class="nav-item">
<a href="https://discord.ladysnake.org" title="Discord" class="discord-invite" tabindex="0">
<a href="https://discord.ladysnake.org" title="Discord" class="discord-invite">
{% include svg/discord-word.svg %}
</a>
</li>
Expand Down

0 comments on commit 5d59849

Please sign in to comment.