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
1 changed files with 3 additions and 1 deletions

View File

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