mirror of https://github.com/gorhill/uBlock.git
Merge branch 'master' of github.com:gorhill/uBlock
This commit is contained in:
commit
e914acd720
|
@ -1086,7 +1086,7 @@ vAPI.domCollapser = (function() {
|
||||||
if ( node.localName === 'iframe' ) {
|
if ( node.localName === 'iframe' ) {
|
||||||
addIFrame(node);
|
addIFrame(node);
|
||||||
}
|
}
|
||||||
if ( node.children.length !== 0 ) {
|
if ( node.children && node.children.length !== 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 New Issue