From: Vincent Vanwaelscappel Date: Thu, 5 Oct 2017 15:29:24 +0000 (+0200) Subject: fix #1705 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=72104ed21f6f74db807fd1bed16b7488732ed735;p=fluidbook-html5.git fix #1705 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.search.js b/js/libs/fluidbook/fluidbook.search.js index 6e145cba..d17276d3 100644 --- a/js/libs/fluidbook/fluidbook.search.js +++ b/js/libs/fluidbook/fluidbook.search.js @@ -245,6 +245,10 @@ FluidbookSearch.prototype = { } } + if(this.fluidbook.l10n.dir=='rtl'){ + pageNrs.reverse(); + } + for (var i in this.highlights) { var h = this.highlights[i]; for (var j in h.occurences) {