Skip to content

Commit

Permalink
adjust url on gh sponsor
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykenedy committed Jan 20, 2023
1 parent 0f0b462 commit db23535
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions resources/js/components/GHButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -201,31 +201,14 @@
<github-button
v-if="showSponsor && ghUser"
v-tippy="showTips ? 'Sponsor @' + ghUser + ' on GitHub' : null"
:href="
ghBaseUrl +
'/sponsors/' +
ghUser +
'?frequency=' +
frequency +
'&sponsor=' +
ghUser
"
:href="ghBaseUrl + 'sponsors/' + ghUser"
:data-icon="sponsorIcon"
:data-size="size"
:aria-label="'Sponsor @' + ghUser + ' on GitHub'"
class="gh-button"
@click="
track(
'Clicked ' +
sponsorTitle +
' ' +
ghBaseUrl +
'/sponsors/' +
ghUser +
'?frequency=' +
frequency +
'&sponsor=' +
ghUser,
'Clicked ' + sponsorTitle + ' ' + ghBaseUrl + 'sponsors/' + ghUser,
)
"
>
Expand Down

0 comments on commit db23535

Please sign in to comment.