From d3553667240da748aa426ba1d23f309106b66751 Mon Sep 17 00:00:00 2001 From: jacket <1762982273@qq.com> Date: Sat, 11 Sep 2021 14:56:42 +0800 Subject: [PATCH] fix: code prettier --- src/dom/document-cloner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/document-cloner.ts b/src/dom/document-cloner.ts index 5d1b6cb..b04ea8d 100644 --- a/src/dom/document-cloner.ts +++ b/src/dom/document-cloner.ts @@ -109,7 +109,7 @@ export class DocumentCloner { 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; }