1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 19:03:02 +01:00

Minor code review

This commit is contained in:
Raymond Hill 2022-12-08 10:14:45 -05:00
parent 952b5e1522
commit 78a778922d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -1153,7 +1153,9 @@ vAPI.DOMFilterer = class {
idFromNode(document.body, hashes);
classesFromNode(document.body, hashes);
}
getSurveyResults(hashes, true);
if ( hashes.length !== 0 ) {
getSurveyResults(hashes, true);
}
addPendingList(document.querySelectorAll(
'[id]:not(html):not(body),[class]:not(html):not(body)'
));