diff options
Diffstat (limited to 'templates/_base.html')
-rw-r--r-- | templates/_base.html | 2 |
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> |