From: Vincent Vanwaelscappel Date: Wed, 23 Sep 2020 15:46:49 +0000 (+0200) Subject: wait #3907 @0:05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0596fac0efe6e5ce4b448a3cfd9cf6b4d5b9120d;p=fluidbook-html5.git wait #3907 @0:05 --- diff --git a/js/libs/fluidbook/fluidbook.search.js b/js/libs/fluidbook/fluidbook.search.js index 48af3a43..576935bb 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?j=' + this.fluidbook.setting.cacheDate, function () { + loadJSLibrary('data/search.index.js?j=' + this.fluidbook.settings.cacheDate, function () { $this._loadTexts(function () { if ($this.highlightEnabled) { - loadJSLibrary('data/search.highlight.js?j=' + this.fluidbook.setting.cacheDate, function () { + loadJSLibrary('data/search.highlight.js?j=' + this.fluidbook.settings.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?j=' + this.fluidbook.setting.cacheDate, function () { + loadJSLibrary('data/search.texts.js?j=' + this.fluidbook.settings.cacheDate, function () { callback(); }); } else {