From: Stephen Cameron Date: Wed, 8 Dec 2021 16:29:31 +0000 (+0100) Subject: Update outdated LinkedIn sharing URL. Wait #4944 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=129ba580c29381b05bd369945a36cb2a13fad170;p=fluidbook-html5.git Update outdated LinkedIn sharing URL. Wait #4944 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.share.js b/js/libs/fluidbook/fluidbook.share.js index 7555ace5..9a20d3e0 100644 --- a/js/libs/fluidbook/fluidbook.share.js +++ b/js/libs/fluidbook/fluidbook.share.js @@ -336,11 +336,11 @@ FluidbookShare.prototype = { this.fluidbook.stats.track(12); }, sendLinkedin: function (url, context) { - this.fluidbook.wopen('https://www.linkedin.com/cws/share?url=' + encodeURIComponent(this.getShareURL(url)) + '&isFramed=true&_ts=' + Date.now(), 'share_linkedin', 'width=650,height=400'); + this.fluidbook.wopen('https://www.linkedin.com/sharing/share-offsite/?url=' + encodeURIComponent(this.getShareURL(url)), 'share_linkedin', 'width=650,height=400'); this.fluidbook.stats.track(12); }, sendPinterest: function (url, context) { this.fluidbook.wopen('http://pinterest.com/pin/create/button/?url=' + encodeURIComponent(this.getShareURL(url)) + '&media=' + encodeURIComponent('https://workshop.fluidbook.com/services/facebook_thumbnail?id=' + this.fluidbook.settings.id + '&j=' + Date.now()) + '"', 'width=650,height=400'); this.fluidbook.stats.track(12); } -}; \ No newline at end of file +};