mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-15 17:23:09 +00:00
Fix for #1237
Only set crossorigin on the element if something is specified
This commit is contained in:
parent
c8164959c8
commit
14338a9559
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@
|
|||
options || (options = { });
|
||||
this.setOptions(options);
|
||||
this._setWidthHeight(options);
|
||||
if (this._element) {
|
||||
if (this._element && this.crossOrigin) {
|
||||
this._element.crossOrigin = this.crossOrigin;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue