Skip to content

Commit

Permalink
testing isElementInIframe method
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayheck committed Apr 25, 2024
1 parent 1d8fe9a commit c307903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/utils/dom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ export function isElementInDocument (el: Node, currentDocument?: Document): bool
export function isElementInIframe (el: HTMLElement, currentDocument?: Document): boolean {
const doc = currentDocument || findDocument(el);

return window.document !== doc;
return false;
}

export function isHammerheadAttr (attr): boolean {
Expand Down

0 comments on commit c307903

Please sign in to comment.