diff --git a/static/index.html b/static/index.html index e3f8b49..edffca0 100644 --- a/static/index.html +++ b/static/index.html @@ -18,6 +18,7 @@
+
diff --git a/static/index.js b/static/index.js index cd46858..dd309c5 100644 --- a/static/index.js +++ b/static/index.js @@ -72,7 +72,7 @@ $(document).ready(() => { searchForm.on('submit', e => { e.preventDefault(); - const word = e.target[0].value + const word = e.target[0].value.trim(); window.location.hash = `#${word}`; });