forked from GithubMirrors/cardconjurer
		
	name
This commit is contained in:
		| @@ -816,9 +816,6 @@ function loadSetSymbolWatermark() { | |||||||
| } | } | ||||||
| //Loads an image from URL | //Loads an image from URL | ||||||
| function imageURL(input, targetImage) { | function imageURL(input, targetImage) { | ||||||
| 	if (targetImage.crossOrigin == null) { |  | ||||||
| 		targetImage.crossOrigin = "anonymous" |  | ||||||
| 	} |  | ||||||
| 	targetImage.cropped = false | 	targetImage.cropped = false | ||||||
| 	if (targetImage == imgWatermark) { | 	if (targetImage == imgWatermark) { | ||||||
| 		imgWatermark.whiteToTransparent = false | 		imgWatermark.whiteToTransparent = false | ||||||
| @@ -827,9 +824,6 @@ function imageURL(input, targetImage) { | |||||||
| } | } | ||||||
| function loadImage(event, destination, arg) { | function loadImage(event, destination, arg) { | ||||||
| 	if (arg != false) { | 	if (arg != false) { | ||||||
| 		if (isMobile == true) { |  | ||||||
| 			destination.crossOrigin = null |  | ||||||
| 		} |  | ||||||
| 		var input = event.target | 		var input = event.target | ||||||
| 		var reader = new FileReader() | 		var reader = new FileReader() | ||||||
| 		reader.onload = function() { | 		reader.onload = function() { | ||||||
|   | |||||||
| @@ -261,7 +261,7 @@ | |||||||
| 				</div> | 				</div> | ||||||
| 				<div class="cmm" id="cmm-art"> | 				<div class="cmm" id="cmm-art"> | ||||||
| 					Image | 					Image | ||||||
| 					<input type="file" class="input" accept="image/*" onchange="loadImage(event, imgArt, true)" id="inputPicture"> | 					<input type="file" name="inputCardArt" class="input" accept="image/*" onchange="loadImage(event, imgArt, true)" id="inputPicture"> | ||||||
| 					<br> | 					<br> | ||||||
| 					<input type="text" class="input" placeholder="Or use a URL" onchange="imageURL(this, imgArt)"> | 					<input type="text" class="input" placeholder="Or use a URL" onchange="imageURL(this, imgArt)"> | ||||||
| 					<br> | 					<br> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle