From 8b96d7e1cd33b42240a8a8710097020495ce7eff Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 10 Oct 2019 13:35:30 +0200 Subject: [PATCH] fix #3125 @0.5 --- js/libs/fluidbook/fluidbook.share.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); }, -- 2.39.5