From: Vincent Vanwaelscappel Date: Thu, 10 Oct 2019 11:35:30 +0000 (+0200) Subject: fix #3125 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8b96d7e1cd33b42240a8a8710097020495ce7eff;p=fluidbook-html5.git fix #3125 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.share.js b/js/libs/fluidbook/fluidbook.share.js index 98bc4b51..4bacb9ec 100644 --- a/js/libs/fluidbook/fluidbook.share.js +++ b/js/libs/fluidbook/fluidbook.share.js @@ -258,9 +258,10 @@ FluidbookShare.prototype = { var tweet; if (context === 'publication') { tweet = this.fluidbook.datas.twitter_description; - } else if (context === 'product') { tweet = this.fluidbook.datas.product_tweet; + } else if (context === 'article') { + tweet = '%title% : %short%'; } return tweet.replace('%title%', this.getShareTitle(url)); },