another attempt at cross origin
This commit is contained in:
parent
218716dee3
commit
20a6a9f443
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ Metamaps.Backbone.init = function () {
|
|||
self.Metacode = Backbone.Model.extend({
|
||||
initialize: function () {
|
||||
var image = new Image();
|
||||
image.setAttribute('crossOrigin', 'anonymous');
|
||||
image.crossOrigin = "Anonymous";
|
||||
image.src = this.get('icon');
|
||||
this.set('image',image);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue