Skip iframes in DOM diff

This commit is contained in:
Eduard Urbach 2017-06-24 02:31:49 +02:00
parent 8d976488ee
commit 79ba7ecf3b

View File

@ -25,6 +25,10 @@ export class Diff {
}
if(a.nodeType === Node.ELEMENT_NODE) {
if(a.tagName === "IFRAME") {
continue
}
let removeAttributes: Attr[] = []
for(let x = 0; x < a.attributes.length; x++) {