Skip to content

Commit

Permalink
fix: Disable anchors in this SPA
Browse files Browse the repository at this point in the history
in order to avoid triggering page-scrolling to said anchor upon htmx reloads
which happen upon each form interaction.
  • Loading branch information
AiyionPrime committed Jan 5, 2025
1 parent ba94934 commit 7cb7dbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<p class="intro-text">
Förderverein freier Netzwerke im Norden.
</p>
<a href="#membership" class="btn btn-circle page-scroll">
<a href="#membership" class="btn btn-circle page-scroll nohref">
<i class="fa fa-angle-double-down animated"></i>
</a>
</div>
Expand All @@ -79,7 +79,7 @@
>
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand page-scroll" href="#page-top">
<a class="navbar-brand page-scroll nohref" href="#page-top">
<img src="https://fnorden.net/img/logo_mini.png" />
<span class="light">F</span>Norden e.V.
</a>
Expand All @@ -100,7 +100,7 @@
>
</li>
<li class="nav-item">
<a class="page-scroll nav-link" href="#membership"
<a class="page-scroll nav-link nohref" href="#membership"
>Mitgliedsantrag</a
>
</li>
Expand Down

0 comments on commit 7cb7dbd

Please sign in to comment.