aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-06-17 22:51:40 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-06-17 22:51:40 +0200
commitc63bac3edd26b2b16e16f40c07bf4b6dfba9a2e8 (patch)
treee9d1bbdc67ac34f62391d395db4a4378d592fa2b
parentcc00f805ed937c770c3cd2559ba9d245238201b2 (diff)
downloadreploy-c63bac3edd26b2b16e16f40c07bf4b6dfba9a2e8.tar.gz
reploy-c63bac3edd26b2b16e16f40c07bf4b6dfba9a2e8.tar.bz2
niceness
-rw-r--r--templates/searchresults.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/searchresults.html b/templates/searchresults.html
index 4562219..38a4c9a 100644
--- a/templates/searchresults.html
+++ b/templates/searchresults.html
@@ -95,7 +95,9 @@
function handle_search_input(ev) {
run_search(ev.target.value)
- window.history.pushState("", "", window.location.pathname + '?search_query='+encodeURIComponent(ev.target.value))
+ window.history.pushState("", "",
+ window.location.pathname + '?search_query='+encodeURIComponent(ev.target.value)
+ )
el_query.addEventListener('input', handle_search_input)
}