Skip to content

Commit a2fd4e0

Browse files
committed
fix regression in block svg download
1 parent 0564753 commit a2fd4e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/activity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ define(MYDEFINES, function (compatibility) {
471471

472472
svg += '</svg>';
473473

474-
download('blockArtwork.svg', 'data:image/svg+xml;utf8,' + '<svg xmlns="http://www.w3.org/2000/svg" width="' + xMax + '" height="' + yMax + '">' + encodeURIComponent(svg), 'blockArtwork.svg', '"width=' + logo.canvas.width + ', height=' + logo.canvas.height + '"');
474+
save.download('svg', 'data:image/svg+xml;utf8,' + '<svg xmlns="http://www.w3.org/2000/svg" width="' + xMax + '" height="' + yMax + '">' + encodeURIComponent(svg), 'blockArtwork.svg', '"width=' + logo.canvas.width + ', height=' + logo.canvas.height + '"', 'blockArtwork.svg');
475475
};
476476

477477
function _allClear() {

0 commit comments

Comments
 (0)