From 0596fac0efe6e5ce4b448a3cfd9cf6b4d5b9120d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 23 Sep 2020 17:46:49 +0200 Subject: [PATCH] wait #3907 @0:05 --- js/libs/fluidbook/fluidbook.search.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.39.5