mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 14:46:10 +03:00
Set image.crossOrigin = 'Anonymous';
to avoid tainted canvas problem
This commit is contained in:
parent
86be255c6b
commit
a5a72ee321
@ -419,6 +419,7 @@ $.Drawer.prototype = /** @lends OpenSeadragon.Drawer.prototype */{
|
|||||||
this.downloading++;
|
this.downloading++;
|
||||||
|
|
||||||
image = new Image();
|
image = new Image();
|
||||||
|
image.crossOrigin = 'Anonymous';
|
||||||
|
|
||||||
complete = function( imagesrc, resultingImage ){
|
complete = function( imagesrc, resultingImage ){
|
||||||
_this.downloading--;
|
_this.downloading--;
|
||||||
|
Loading…
Reference in New Issue
Block a user