]> _ Git - odl.git/commitdiff
wip #5120
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Feb 2022 18:41:33 +0000 (19:41 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 22 Feb 2022 18:41:33 +0000 (19:41 +0100)
resources/js/search.js

index f7a1b1fa9bebb7eeb55c4c97dcb05e02244ce24e..f562d5e490e0485e25ca14f7924e9addc9057f41 100644 (file)
@@ -22,6 +22,8 @@ export default () => ({
         const data = await fetch(this.$el.dataset.searchindex);
         const index = await data.text();
 
+        console.log(JSON.parse(index));
+
         // Delay miniSearch initialisation so there's less chance of animations stuttering during page loads
         window.minisearch = this.miniSearch = MiniSearch.loadJSON(index, this.setup);