From 233060da1a0c26bb9493a1b91b75376c7d914e05 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 16:50:55 +0100 Subject: [PATCH] wip #5120 --- resources/js/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/search.js b/resources/js/search.js index fc97c5f..c0285e2 100644 --- a/resources/js/search.js +++ b/resources/js/search.js @@ -27,7 +27,7 @@ export default () => ({ // Delay miniSearch initialisation so there's less chance of animations stuttering during page loads setTimeout(() => { this.miniSearch = new MiniSearch(this.setup); - this.miniSearch.addAllAsync(minisearchodl); + this.miniSearch.addAll(minisearchodl); }, 4000); this.medialibrary = this.$el.dataset.medialibrary; -- 2.39.5