Fix errors in the client-side code filtering the referrers
This commit is contained in:
parent
9ffc935ded
commit
4396dd2b44
1 changed files with 2 additions and 2 deletions
|
|
@ -1228,12 +1228,12 @@ a.gs-title:hover {
|
|||
if (index2 <= index) return;
|
||||
|
||||
if (element2.innerHTML === html) {
|
||||
count += parseInt(document.querySelector('.av-referrer-count')[index2].innerText, 10);
|
||||
count += parseInt(document.querySelectorAll('.av-referrer-count')[index2].innerText, 10);
|
||||
element2.closest('.av-referrer-row').classList.add('av-delete');
|
||||
}
|
||||
});
|
||||
|
||||
if (count) countElement.innerHTML = parseInt(countElement.html(), 10) + count;
|
||||
if (count) countElement.innerHTML = parseInt(countElement.innerHTML, 10) + count;
|
||||
});
|
||||
|
||||
document.querySelectorAll('.av-referrer-row.av-delete').forEach(function(element) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue