Skip iframes in DOM diff
This commit is contained in:
parent
8d976488ee
commit
79ba7ecf3b
@ -25,6 +25,10 @@ export class Diff {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(a.nodeType === Node.ELEMENT_NODE) {
|
if(a.nodeType === Node.ELEMENT_NODE) {
|
||||||
|
if(a.tagName === "IFRAME") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
let removeAttributes: Attr[] = []
|
let removeAttributes: Attr[] = []
|
||||||
|
|
||||||
for(let x = 0; x < a.attributes.length; x++) {
|
for(let x = 0; x < a.attributes.length; x++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user