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
7af9a35728
commit
f84cdb80b3
@ -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…
x
Reference in New Issue
Block a user