diff --git a/src/interface/web/index.html b/src/interface/web/index.html index 2e65bfbf..81caf140 100644 --- a/src/interface/web/index.html +++ b/src/interface/web/index.html @@ -79,9 +79,9 @@ }); } - function regenerate() { + function updateIndex() { type = document.getElementById("type").value; - fetch(`/regenerate?t=${type}`) + fetch(`/reload?t=${type}`) .then(response => response.json()) .then(data => { console.log(data); @@ -90,7 +90,7 @@ }); } - function incremental_search(event) { + function incrementalSearch(event) { type = document.getElementById("type").value; // Search with reranking on 'Enter' if (event.key === 'Enter') { @@ -148,14 +148,15 @@