Skip to content

Commit 2e32a62

Browse files
author
Trystan EVENO
committed
fix: 🐛 utilisation native de l'ancre pour les liens d'évitement
1 parent 29edbbd commit 2e32a62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/DsfrSkipLinks/DsfrSkipLinks.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const scrollMeTo = (elementId: string) => {
2626
<a
2727
class="fr-link"
2828
:href="`#${link.id}`"
29-
@click.prevent="scrollMeTo(link.id)"
29+
@click="scrollMeTo(link.id)"
3030
>{{ link.text }}</a>
3131
</li>
3232
</ul>

0 commit comments

Comments
 (0)