Fix android javascript

This commit is contained in:
Augusto Gunsch 2022-07-23 13:11:10 +02:00
parent f9f4c79ca2
commit 27c1951a3b
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
<form class="sticky-top" id="search-form">
<div class="ui-widget" id="search-widget">
<input id="search-bar" placeholder="Search..." type="text" autocorrect="off" autocapitalize="none" autofocus>
<input type="submit" style="display: none" />
</div>
<select id="langs">
</select>

View File

@ -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}`;
});