Avoid useless update of the search box on user input

master
Andrea Cardaci 2018-05-29 12:05:19 +02:00
parent 125f410e01
commit a108890c1f
1 changed files with 1 additions and 3 deletions

View File

@ -24,9 +24,7 @@
<script>
function filter(query) {
// consistently update URL and search box
var searchBox = document.getElementById('bin-search');
searchBox.value = query;
// consistently update the URL
location.hash = query;
// determine the query type