Skip to content

Commit

Permalink
add plausible class to button
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Aug 27, 2024
1 parent 7fbdffa commit 45522f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/.vuepress/components/needle-button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ a {

<template>
<a :href="href" :target="same_tab ? '_self' : '_blank'" :class="event_goal ? ('plausible-event-name=' + event_goal + (event_position ? (' plausible-event-position=' + event_position) : '')) : ''">
<button>
<button :class="event_goal ? ('plausible-event-name=' + event_goal + (event_position ? (' plausible-event-position=' + event_position) : '')) : ''">
<slot></slot>
</button>
</a>
Expand Down

0 comments on commit 45522f9

Please sign in to comment.