Skip to content

Commit

Permalink
Fix facebook social share link
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Mar 1, 2023
1 parent a65e8c4 commit e239f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/www/flex_dashboard/flexdashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ var FlexDashboard = (function () {

var serviceLinks = {
"twitter": "https://twitter.com/share?text=" + encodeURIComponent(document.title) + "&url="+encodeURIComponent(location.href),
"facebook": "https://www.facebook.com/sharer/sharer.php?s=100&p[url]="+encodeURIComponent(location.href),
"facebook": "https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(location.href),
"linkedin": "https://www.linkedin.com/shareArticle?mini=true&url="+encodeURIComponent(location.href) + "&title=" + encodeURIComponent(document.title),
"pinterest": "https://pinterest.com/pin/create/link/?url="+encodeURIComponent(location.href) + "&description=" + encodeURIComponent(document.title)
};
Expand Down

0 comments on commit e239f23

Please sign in to comment.