]> _ Git - fluidbook-html5.git/commitdiff
Update outdated LinkedIn sharing URL. Wait #4944 @0.5
authorStephen Cameron <stephen@cubedesigners.com>
Wed, 8 Dec 2021 16:29:31 +0000 (17:29 +0100)
committerStephen Cameron <stephen@cubedesigners.com>
Wed, 8 Dec 2021 16:29:31 +0000 (17:29 +0100)
js/libs/fluidbook/fluidbook.share.js

index 7555ace5c8e9c87a3c188091f36f4dbc6e007525..9a20d3e01a9aeeb73e64b98165e8a219c2fe2a8f 100644 (file)
@@ -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
+};