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