mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix wrong context for cloned element instanceof check
This commit is contained in:
parent
90a8422938
commit
57dc7137b2
@ -372,6 +372,8 @@ export const cloneWindow = (
|
||||
}
|
||||
if (
|
||||
cloner.clonedReferenceElement instanceof cloneWindow.HTMLElement ||
|
||||
cloner.clonedReferenceElement instanceof
|
||||
ownerDocument.defaultView.HTMLElement ||
|
||||
cloner.clonedReferenceElement instanceof HTMLElement
|
||||
) {
|
||||
resolve([
|
||||
|
Loading…
Reference in New Issue
Block a user