fix: code prettier

This commit is contained in:
jacket 2021-09-11 14:56:42 +08:00
parent 310da17e4c
commit d355366724

View File

@ -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;
} }