mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix: code prettier
This commit is contained in:
parent
310da17e4c
commit
d355366724
@ -109,7 +109,7 @@ export class DocumentCloner {
|
|||||||
return Promise.reject(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);
|
return Promise.reject(`Error finding the ${this.referenceElement.nodeName} in the cloned document`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (documentClone.fonts && documentClone.fonts.status === "loading" && documentClone.fonts.ready) {
|
if (documentClone.fonts && documentClone.fonts.status === 'loading' && documentClone.fonts.ready) {
|
||||||
await documentClone.fonts.ready;
|
await documentClone.fonts.ready;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user