]> _ Git - fluidbook-html5.git/commitdiff
wait #3965 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 Oct 2020 09:28:42 +0000 (11:28 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 Oct 2020 09:28:42 +0000 (11:28 +0200)
js/libs/fluidbook/fluidbook.share.js

index 4be793ae9dba12d0189cbf051642ee9c279c8ae7..547221e9cae8e690784c92fbf2f4f50102d25abd 100644 (file)
@@ -202,15 +202,9 @@ FluidbookShare.prototype = {
         if (this.fluidbook.settings.whatsapp) {
             shareLinks['whatsapp'] = 'WhatsApp';
         }
-        if (this.fluidbook.settings.googleplus) {
-            shareLinks['googleplus'] = 'Google Plus';
-        }
         if (this.fluidbook.settings.linkedin) {
             shareLinks['linkedin'] = 'LinkedIn';
         }
-        if (this.fluidbook.settings.viadeo) {
-            shareLinks['viadeo'] = 'Viadeo';
-        }
         if (this.fluidbook.settings.pinterest) {
             shareLinks['pinterest'] = 'Pinterest';
         }
@@ -341,18 +335,10 @@ FluidbookShare.prototype = {
         this.fluidbook.wopen('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(this.getShareURL(url)), 'share_facebook', 'width=650,height=400');
         this.fluidbook.stats.track(12);
     },
-    sendGoogleplus: function (url, context) {
-        this.fluidbook.wopen('https://plus.google.com/share?url=' + encodeURIComponent(this.getShareURL(url)), 'share_googleplus', 'width=600,height=600');
-        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.stats.track(12);
     },
-    sendViadeo: function (url, context) {
-        this.fluidbook.wopen('http://www.viadeo.com/shareit/share/?url=' + encodeURIComponent(this.getShareURL(url)), 'share_viadeo', '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);