]> _ Git - fluidbook-html5.git/commitdiff
wait #3907 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Sep 2020 15:41:47 +0000 (17:41 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Sep 2020 15:41:47 +0000 (17:41 +0200)
js/libs/fluidbook/fluidbook.search.js

index 7c3c94fcd0b2cc19b7da8d0f0427f4e11472678f..48af3a43c71b0488f38dc212bd1e75a8a8ec668c 100644 (file)
@@ -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 {