Skip to content

Commit

Permalink
Merge pull request #3382 from DarDoro/master
Browse files Browse the repository at this point in the history
Update [email protected] fix long script
  • Loading branch information
jmoenig authored Aug 6, 2024
2 parents 163ea28 + 58ff954 commit 5aef46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/morphic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ function embedMetadataPNG(aCanvas, aString) {
embedTag
);
try {
bPart.splice(-12, 0, ...newChunk);
bPart = bPart.slice(0, -12).concat( newChunk.split(""), bPart.slice( -12));
parts[1] = btoa(bPart.join(""));
} catch (err) {
console.log(err);
Expand Down

0 comments on commit 5aef46a

Please sign in to comment.