Only set crossorigin on the element if something is specified
This commit is contained in:
Ross Wilson 2014-04-16 13:03:02 -06:00
parent c8164959c8
commit 14338a9559

View file

@ -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;
}
},