Skip to content

Commit 86a3fc0

Browse files
committed
Restore "data:" string
1 parent 611064d commit 86a3fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/components/images/draw.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.exports = function draw(gd) {
8484
var img = new Image();
8585
this.img = img;
8686

87-
if(d.source && d.source.slice(0, 5) === '') {
87+
if(d.source && d.source.slice(0, 5) === 'data:') {
8888
img.src = d.source;
8989
thisImage.attr('xlink:href', d.source);
9090
resolve();

0 commit comments

Comments
 (0)