From 27c1951a3bbdd0b01215b587709bc91181230c6e Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Sat, 23 Jul 2022 13:11:10 +0200 Subject: [PATCH] Fix android javascript --- static/index.html | 1 + static/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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}`; });