Add WHO set symbol

This commit is contained in:
Josh birnholz
2023-07-21 14:27:00 -04:00
parent 159ea0a0b2
commit 8aff5d8240
5 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -3550,7 +3550,7 @@ function fetchSetSymbol() {
uploadSetSymbol('http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=' + setCode + '&size=large&rarity=' + setRarity, 'resetSetSymbol');
} else {
var extension = 'svg';
if (['moc', 'ltr', 'ltc', 'cmm'].includes(setCode.toLowerCase())) {
if (['moc', 'ltr', 'ltc', 'cmm', 'who'].includes(setCode.toLowerCase())) {
extension = 'png';
}
if (setSymbolAliases.has(setCode.toLowerCase())) setCode = setSymbolAliases.get(setCode.toLowerCase());