diff --git a/src/item/Raster.js b/src/item/Raster.js index 018c34e2..e53325a7 100644 --- a/src/item/Raster.js +++ b/src/item/Raster.js @@ -371,9 +371,9 @@ var Raster = Item.extend(/** @lends Raster# */{ setSource: function(src) { var image = new window.Image(), crossOrigin = this._crossOrigin; - image.src = src; if (crossOrigin) image.crossOrigin = crossOrigin; + image.src = src; this.setImage(image); },