From d02857d08b344730accd4b58f7c7f2d6038c3246 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Tue, 28 Jul 2020 09:39:26 -0700 Subject: [PATCH] Update main.js --- data/scripts/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/scripts/main.js b/data/scripts/main.js index 7b387d63..77cb0a4e 100644 --- a/data/scripts/main.js +++ b/data/scripts/main.js @@ -92,6 +92,8 @@ function setSymbolFromGatherer() { newSetSymbolSource += 'c' } setSymbol.src = newSetSymbolSource + '.png' + } else if (document.getElementById('inputSetCode').value.toLowerCase() == 'none') { + setSymbol.src = '/data/images/cardImages/blank.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) }