another attempt at cross origin

This commit is contained in:
Connor Turland 2014-11-10 11:20:56 -05:00
parent 218716dee3
commit 20a6a9f443

View file

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