Skip to content

Commit 6be65cf

Browse files
author
Lanny McNie
committed
Fix for local image loading
1 parent af63940 commit 6be65cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/preloadjs/loaders/ImageLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ this.createjs = this.createjs || {};
9191
return;
9292
}
9393

94-
if (this._item.crossOrigin != null) {
94+
if (this._preferXHR && this._item.crossOrigin != null) {
9595
this._tag.crossOrigin = this._item.crossOrigin;
9696
}
9797
this.AbstractLoader_load();

0 commit comments

Comments
 (0)