This commit is contained in:
Kyle
2021-07-11 14:46:40 -07:00
parent a7beeaf815
commit 28caaaad6f
23 changed files with 63 additions and 1 deletions

View File

@@ -1157,7 +1157,7 @@ function artFromScryfall(scryfallResponse) {
var optionIndex = 0;
scryfallResponse.forEach(card => {
var option = document.createElement('option');
option.innerHTML = `${card.name} (${card.set_name})`;
option.innerHTML = `${card.name} (${card.set.toUpperCase()} - ${card.artist})`;
option.value = optionIndex;
artIndex.appendChild(option);
optionIndex ++;