mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix: image check on apple webkit only
This commit is contained in:
parent
8546f1eaa2
commit
b1e30c8065
@ -97,7 +97,9 @@ export class DocumentCloner {
|
|||||||
await documentClone.fonts.ready;
|
await documentClone.fonts.ready;
|
||||||
}
|
}
|
||||||
|
|
||||||
await imagesReady(documentClone);
|
if (/(AppleWebKit)/g.test(navigator.userAgent)) {
|
||||||
|
await imagesReady(documentClone);
|
||||||
|
}
|
||||||
|
|
||||||
if (typeof onclone === 'function') {
|
if (typeof onclone === 'function') {
|
||||||
return Promise.resolve()
|
return Promise.resolve()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user