From 3cbcd41f2b5abb32fd5989a5d42ff7f05e61b622 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 10 Jul 2019 19:21:13 +0200 Subject: [PATCH] . --- js/libs/fluidbook/fluidbook.share.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.share.js b/js/libs/fluidbook/fluidbook.share.js index df8bdc3a..6976d4f4 100644 --- a/js/libs/fluidbook/fluidbook.share.js +++ b/js/libs/fluidbook/fluidbook.share.js @@ -80,12 +80,12 @@ FluidbookShare.prototype = { } var e = url.split(':'); - if (e.length == 1) { + if (e.length === 1) { return relativeToAbsoluteURL(url); } else { - if (e[0] == 'http' || e[0] == 'https') { + if (e[0] === 'http' || e[0] === 'https') { return url - } else if (e[0] == 'article') { + } else if (e[0] === 'article') { return relativeToAbsoluteURL('./p/' + this.getSEOArticle(e[1]).url); } } -- 2.39.5