Skip to content

Commit

Permalink
Fix first match navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Sep 28, 2024
1 parent e398348 commit aff54ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/gtfobins_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
}
} else if (event.key === 'Enter') {
// navigate to the first match
const firstMatch = document.querySelector('#gtfobin-table tbody tr:not(.hidden) td a');
const firstMatch = document.querySelector('#gtfobin-table tbody tr:not(.hidden) th a');
if (firstMatch) {
firstMatch.click();
}
Expand Down

0 comments on commit aff54ff

Please sign in to comment.