summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-04 19:39:01 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-04 19:39:01 +0200
commitc87c4c200c3f6a2e6474623db4aad8b2b30e713b (patch)
treedbff5baf4c1a0a2511bbd1620e09d5a6810687e4 /assets
parentfff90c86733e20d7b9a35aad616ab65fe11f6ff8 (diff)
downloadgohugo-theme-ed-c87c4c200c3f6a2e6474623db4aad8b2b30e713b.tar.gz
Do not show search term
Diffstat (limited to 'assets')
-rw-r--r--assets/js/search.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/assets/js/search.js b/assets/js/search.js
index 1f8fedb..d218127 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -126,7 +126,6 @@ function renderSearchResults(query, results) {
}
function clearSearchResults() {
- $('#query').empty();
$('#search-results-body').empty();
$('#results-count').empty();
$('#results-count-text').empty();
@@ -137,7 +136,6 @@ function clearAndFocusSearchInput() {
}
function updateSearchResults(query, results) {
- $('#query').html(query);
$('#search-results-body').html(results.map((hit) => `
<article class="post" data-score="${hit.score.toFixed(2)}">
<header>