Skip to content

Commit

Permalink
[Bug] Fix screenshot with images (#1558)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Zak <zj@zakjan.cz>
  • Loading branch information
zakjan committed Jul 29, 2021
1 parent 18c41c0 commit 5985d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dom-to-image.js
Expand Up @@ -473,7 +473,7 @@ function newImages() {

function newImage(element) {
function inline(get) {
if (element.src) {
if (isDataUrl(element.src)) {
return Promise.resolve();
}
return Promise.resolve(element.src)
Expand Down

0 comments on commit 5985d20

Please sign in to comment.