Skip to content

Commit

Permalink
3.4.5-beta.0
Browse files Browse the repository at this point in the history
Attempt to fix issue #189
  • Loading branch information
IDisposable committed Sep 12, 2024
1 parent e7d6ab0 commit 56a060b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dom-to-image-more",
"version": "3.4.4",
"version": "3.4.5-beta.0",
"description": "Generates an image from a DOM node using HTML5 canvas and SVG",
"main": "dist/dom-to-image-more.min.js",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/dom-to-image-more.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,8 +649,8 @@
const ownerDocument = node ? node.ownerDocument : undefined;
return (
(ownerDocument ? ownerDocument.defaultView : undefined) ||
global ||
window
window ||
global
);
}

Expand Down

0 comments on commit 56a060b

Please sign in to comment.