提交 2f65c175 编写于 作者: T Takahiro

Not set crossOrigin for data: URI in ImageLoader

上级 abfc2835
......@@ -68,7 +68,7 @@ Object.assign( ImageLoader.prototype, {
}, false );
if ( this.crossOrigin !== undefined ) image.crossOrigin = this.crossOrigin;
if ( this.crossOrigin !== undefined && url.indexOf( 'data:' ) !== 0 ) image.crossOrigin = this.crossOrigin;
scope.manager.itemStart( url );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册