mirror of
				https://github.com/Investigamer/cardconjurer.git
				synced 2025-10-31 07:10:42 -05:00 
			
		
		
		
	set symbol fix
This commit is contained in:
		| @@ -72,7 +72,11 @@ cardArt.onload = function() { | ||||
| } | ||||
| function setSymbolFromGatherer() { | ||||
| 	if (document.getElementById('inputSetCode').value.toLowerCase() == 'cc') { | ||||
| 		setSymbol.src = 'http://cardconjurer.com/data/images/misc/cc-' + document.getElementById('inputSetRarity').value.toLowerCase() | ||||
| 		var newSetSymbolSource = 'http://cardconjurer.com/data/images/misc/cc-' + document.getElementById('inputSetRarity').value.toLowerCase() | ||||
| 		if (document.getElementById('inputSetRarity').value == '') { | ||||
| 			newSetSymbolSource += 'c' | ||||
| 		} | ||||
| 		setSymbol.src = newSetSymbolSource + '.png' | ||||
| 	} else { | ||||
| 		autoCrop(setSymbol, 'https://cors-anywhere.herokuapp.com/http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=' + document.getElementById('inputSetCode').value + '&size=large&rarity=' + document.getElementById('inputSetRarity').value) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kyle
					Kyle