mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
Fix mobile experience
This commit is contained in:
parent
b2e3b7ccf8
commit
ad1f052edb
@ -93,7 +93,6 @@
|
|||||||
filter(query);
|
filter(query);
|
||||||
if (query) {
|
if (query) {
|
||||||
searchBox.value = query;
|
searchBox.value = query;
|
||||||
searchBox.focus();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -107,7 +106,8 @@
|
|||||||
// handle user input
|
// handle user input
|
||||||
searchBox.addEventListener('input', function () {
|
searchBox.addEventListener('input', function () {
|
||||||
var query = searchBox.value;
|
var query = searchBox.value;
|
||||||
location.hash = query;
|
history.replaceState(null, null, '#' + query);
|
||||||
|
applyFilter();
|
||||||
});
|
});
|
||||||
|
|
||||||
// handle shortcuts
|
// handle shortcuts
|
||||||
|
Loading…
Reference in New Issue
Block a user