Skip to content

Commit ef3543b

Browse files
authored
Merge pull request #980 from MaitreManuel/dsfr-skip-links-native-anchor
fix: 🐛 utilisation native de l'ancre pour les liens d'évitement
2 parents 29edbbd + 2e32a62 commit ef3543b

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)