mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix query input trailing spaces
This commit is contained in:
parent
236f88cd34
commit
a59e79e31c
@ -106,7 +106,7 @@
|
|||||||
// handle user input
|
// handle user input
|
||||||
searchBox.addEventListener('input', function () {
|
searchBox.addEventListener('input', function () {
|
||||||
var query = searchBox.value;
|
var query = searchBox.value;
|
||||||
history.replaceState(null, null, '#' + query);
|
history.replaceState(null, null, encodeURI('#' + query));
|
||||||
applyFilter();
|
applyFilter();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user