Add support for ignoring headshots with specific modifiers
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user