mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-11 17:41:03 +01:00
minor code review
This commit is contained in:
parent
ca45ade4c5
commit
d337abe504
1 changed files with 1 additions and 1 deletions
|
@ -1232,7 +1232,7 @@ vAPI.domCollapser = (function() {
|
||||||
if ( node.localName === 'iframe' ) {
|
if ( node.localName === 'iframe' ) {
|
||||||
addIFrame(node);
|
addIFrame(node);
|
||||||
}
|
}
|
||||||
if ( node.childElementCount > 0 ) {
|
if ( node.childElementCount !== 0 ) {
|
||||||
var iframes = node.getElementsByTagName('iframe');
|
var iframes = node.getElementsByTagName('iframe');
|
||||||
if ( iframes.length !== 0 ) {
|
if ( iframes.length !== 0 ) {
|
||||||
addIFrames(iframes);
|
addIFrames(iframes);
|
||||||
|
|
Loading…
Reference in a new issue