mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Make the function search to look for the prefix
This commit is contained in:
parent
7d7bc72364
commit
86e7f282e0
@ -61,7 +61,7 @@
|
||||
// check against the pattern
|
||||
var noMatches = true;
|
||||
functionElems.forEach((item) => {
|
||||
if (item.innerText.toLowerCase().indexOf(pattern) !== -1) {
|
||||
if (item.innerText.toLowerCase().startsWith(pattern.toLowerCase())) {
|
||||
item.className = 'match';
|
||||
noMatches = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user