mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-07-25 19:54:14 +02:00
Make the function search to look for the prefix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user