Add support for ignoring headshots with specific modifiers

This commit is contained in:
IM23a-spirgif
2025-05-17 20:39:30 +02:00
parent 6202b5394d
commit d31e436949
4 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ function filterTable() {
const table = document.getElementById('gun-stats');
const tr = table.getElementsByTagName('tr');
for (let i = 1; i < tr.length; i++) {
const td = tr[i].getElementsByTagName('td')[1];
const td = tr[i].getElementsByTagName('td')[0];
if (td) {
const txtValue = td.textContent || td.innerText;
if (txtValue.toLowerCase().indexOf(filter) > -1) {