mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
Update creator-23.js
This commit is contained in:
@@ -158,7 +158,7 @@ function getElementIndex(element) {
|
||||
return Array.prototype.indexOf.call(element.parentElement.children, element);
|
||||
}
|
||||
function getCardName() {
|
||||
if (card.text == undefined) {
|
||||
if (card.text == undefined || card.text.title == undefined) {
|
||||
return 'unnamed';
|
||||
}
|
||||
var imageName = card.text.title.text || 'unnamed';
|
||||
|
Reference in New Issue
Block a user