Skip to content

Commit

Permalink
Fix for crossorigin issue when loading editable image
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyjb committed Aug 10, 2018
1 parent 1542eb7 commit 20d7aaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions module/ui/image-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export class ImageEditor extends Overlay {

// Create the base image to paste into the canvas
const baseImage = new Image()
baseImage.setAttribute('crossorigin', 'anonymous')
baseImage.src = this._imageURL

baseImage.onload = () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "manhattan-assets",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "File and image uploads for forms.",
"engines": {
"node": ">=8.9.4"
Expand Down

0 comments on commit 20d7aaf

Please sign in to comment.