This commit is contained in:
Niklas von Hertzen
2012-11-25 22:39:09 +02:00
parent 7c0b893564
commit bca6458301
7 changed files with 4 additions and 98 deletions

View File

@@ -157,7 +157,7 @@ _html2canvas.Renderer.Canvas = function( options ) {
}
} else if (renderItem.name === "drawImage") {
if (renderItem['arguments'][8] > 0 && renderItem['arguments'][7]){
if (renderItem['arguments'][8] > 0 && renderItem['arguments'][7] > 0) {
if ( hasCTX && options.taintTest ) {
if ( safeImages.indexOf( renderItem['arguments'][ 0 ].src ) === -1 ) {
testctx.drawImage( renderItem['arguments'][ 0 ], 0, 0 );