summaryrefslogtreecommitdiff
path: root/templates/_base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_base.html')
-rw-r--r--templates/_base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_base.html b/templates/_base.html
index c62cedb..02c1ebc 100644
--- a/templates/_base.html
+++ b/templates/_base.html
@@ -10,7 +10,7 @@
<script>
function start() {
var inputField = document.getElementById("searchInput");
- window.location = "/search/" + inputField.value;
+ window.location = "{{ url_for("do_search") }}" + inputField.value;
return false;
}
</script>