mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
planeswalkers
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1483,7 +1483,7 @@ function importCard(cardObject) {
|
||||
importIndex.innerHTML = null;
|
||||
var optionIndex = 0;
|
||||
cardObject.forEach(card => {
|
||||
if (card.type_line != 'Card') {
|
||||
if (card.type_line && card.type_line != 'Card') {
|
||||
var option = document.createElement('option');
|
||||
option.innerHTML = `${card.name} (${card.type_line})`;
|
||||
option.value = optionIndex;
|
||||
|
Reference in New Issue
Block a user