Skip to content

Commit

Permalink
Merge pull request #980 from MaitreManuel/dsfr-skip-links-native-anchor
Browse files Browse the repository at this point in the history
fix: 🐛 utilisation native de l'ancre pour les liens d'évitement
  • Loading branch information
laruiss authored Dec 5, 2024
2 parents 29edbbd + 2e32a62 commit ef3543b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DsfrSkipLinks/DsfrSkipLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const scrollMeTo = (elementId: string) => {
<a
class="fr-link"
:href="`#${link.id}`"
@click.prevent="scrollMeTo(link.id)"
@click="scrollMeTo(link.id)"
>{{ link.text }}</a>
</li>
</ul>
Expand Down

0 comments on commit ef3543b

Please sign in to comment.