Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Commit

Permalink
Fix bad url on sharing to Facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Jan 1, 2021
1 parent b0fe8c6 commit bac7279
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

## v0.1.1 (Unreleased)

## v0.1.0 (Unreleased)
- Fix bad url on sharing to Facebook

## v0.1.0

### Breaking changes

Expand Down
2 changes: 1 addition & 1 deletion modules/shareachievementsbadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
FB.ui(
{
method: 'share',
href: button.href,
href: window.location.href,
},
function (response) {}
);
Expand Down

0 comments on commit bac7279

Please sign in to comment.