Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Commit

Permalink
Always set the "crossOrigin" value
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengyuan Chen committed Nov 3, 2015
1 parent 410c0c5 commit 6e365e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@
crossOrigin = 'anonymous';
bustCacheUrl = addTimestamp(url);
}

this.crossOrigin = crossOrigin;
}

this.crossOrigin = crossOrigin;
this.$clone = $clone = $('<img' + getCrossOrigin(crossOrigin) + ' src="' + (bustCacheUrl || url) + '">');

if (this.isImg) {
Expand Down

0 comments on commit 6e365e5

Please sign in to comment.