From b33b013d4154ee310e912dfbe61c8221f55d4b44 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Tue, 5 Dec 2023 20:29:13 +0100 Subject: [PATCH] (search) Fix broken script tag Apparently it can't be called suggestions.js...? --- .../main/resources/static/search/{suggestions.js => tts.js} | 3 --- .../main/resources/templates/search/parts/search-footer.hdb | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) rename code/services-application/search-service/src/main/resources/static/search/{suggestions.js => tts.js} (99%) diff --git a/code/services-application/search-service/src/main/resources/static/search/suggestions.js b/code/services-application/search-service/src/main/resources/static/search/tts.js similarity index 99% rename from code/services-application/search-service/src/main/resources/static/search/suggestions.js rename to code/services-application/search-service/src/main/resources/static/search/tts.js index c48565be..3ad24f82 100644 --- a/code/services-application/search-service/src/main/resources/static/search/suggestions.js +++ b/code/services-application/search-service/src/main/resources/static/search/tts.js @@ -21,13 +21,10 @@ function setupTypeahead() { if (items.length === 0) return; - console.log(items); - const suggestions = document.createElement('div'); suggestions.setAttribute('id', 'suggestions'); suggestions.setAttribute('class', 'suggestions'); - for (i=0;i - +