From: Vincent Vanwaelscappel Date: Wed, 23 Sep 2020 15:41:47 +0000 (+0200) Subject: wait #3907 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8bd17f9ddc37ddc9c096663036ba69c221efbfc4;p=fluidbook-html5.git wait #3907 @0.25 --- diff --git a/js/libs/fluidbook/fluidbook.search.js b/js/libs/fluidbook/fluidbook.search.js index 7c3c94fc..48af3a43 100644 --- a/js/libs/fluidbook/fluidbook.search.js +++ b/js/libs/fluidbook/fluidbook.search.js @@ -228,10 +228,10 @@ FluidbookSearch.prototype = { return callback(); } var $this = this; - loadJSLibrary('data/search.index.js', function () { + loadJSLibrary('data/search.index.js?j=' + this.fluidbook.setting.cacheDate, function () { $this._loadTexts(function () { if ($this.highlightEnabled) { - loadJSLibrary('data/search.highlight.js', function () { + loadJSLibrary('data/search.highlight.js?j=' + this.fluidbook.setting.cacheDate, function () { $this.indexLoaded = true; callback(); }); @@ -245,7 +245,7 @@ FluidbookSearch.prototype = { _loadTexts: function (callback) { if (this.fluidbook.settings.searchWordSelectionAlgorithm === 'expression') { - loadJSLibrary('data/search.texts.js', function () { + loadJSLibrary('data/search.texts.js?j=' + this.fluidbook.setting.cacheDate, function () { callback(); }); } else {