From: Vincent Vanwaelscappel Date: Fri, 24 Apr 2020 12:57:37 +0000 (+0200) Subject: fix #3618 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4f03dfb1d742c325c340344e86118f4a9150ae31;p=fluidbook-html5.git fix #3618 @0.25 --- diff --git a/js/libs/fluidbook/fluidbook.share.js b/js/libs/fluidbook/fluidbook.share.js index 0f60d476..2d39da30 100644 --- a/js/libs/fluidbook/fluidbook.share.js +++ b/js/libs/fluidbook/fluidbook.share.js @@ -92,7 +92,9 @@ FluidbookShare.prototype = { if (e[0] === 'http' || e[0] === 'https') { return url } else if (e[0] === 'article') { - return relativeToAbsoluteURL('./p/' + this.getSEOArticle(e[1]).url); + e.shift(); + var articleTitle = e.join(':'); + return relativeToAbsoluteURL('./p/' + this.getSEOArticle(articleTitle).url); } } },