mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
Avoid useless update of the search box on user input
This commit is contained in:
parent
125f410e01
commit
a108890c1f
@ -24,9 +24,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
function filter(query) {
|
function filter(query) {
|
||||||
// consistently update URL and search box
|
// consistently update the URL
|
||||||
var searchBox = document.getElementById('bin-search');
|
|
||||||
searchBox.value = query;
|
|
||||||
location.hash = query;
|
location.hash = query;
|
||||||
|
|
||||||
// determine the query type
|
// determine the query type
|
||||||
|
Loading…
Reference in New Issue
Block a user