diff --git a/vendor/assets/javascripts/favcount.js b/vendor/assets/javascripts/favcount.js index 3528d5b2562..cca4e25dd1b 100644 --- a/vendor/assets/javascripts/favcount.js +++ b/vendor/assets/javascripts/favcount.js @@ -20,6 +20,8 @@ img = document.createElement('img'); if (self.canvas.getContext) { + img.crossOrigin = "anonymous"; + img.onload = function() { drawCanvas(self.canvas, self.opacity, self.font, img, normalize(count)); };