mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Fix formatting
This commit is contained in:
@ -41,7 +41,7 @@ const html2canvas = (element: HTMLElement, conf: ?Options): Promise<*> => {
|
||||
|
||||
const ownerDocument = element.ownerDocument;
|
||||
if (!ownerDocument) {
|
||||
return Promise.reject(`Provided element is not within a Document`)
|
||||
return Promise.reject(`Provided element is not within a Document`);
|
||||
}
|
||||
const defaultView = ownerDocument.defaultView;
|
||||
|
||||
|
Reference in New Issue
Block a user