forked from GithubMirrors/cardconjurer
		
	Update main.js
This commit is contained in:
		| @@ -747,7 +747,7 @@ function autocrop(targetImage, source = targetImage.src) { | |||||||
|                 cropCanvas.height = height + 1; |                 cropCanvas.height = height + 1; | ||||||
|                 cropContext.putImageData(cropped, 0, 0); |                 cropContext.putImageData(cropped, 0, 0); | ||||||
| 	            //Saves the newly cropped image to the given image | 	            //Saves the newly cropped image to the given image | ||||||
|                 targetImage.src = cropCanvas.toDataURL(); |                 setTimeout(function() {targetImage.src = cropCanvas.toDataURL();}, 100) | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle