@@ -482,7 +482,7 @@ function cardString(template, components) {
484 var aspectRatio = components["art"] && components["art"]["aspect-ratio"] || 1;
484 var aspectRatio = components["art"] && components["art"]["aspect-ratio"] || 1;
485− if (typeof aspectRatio !== "number") {
485+ if (isNaN(aspectRatio)) {
486 aspectRatio = 1;
486 aspectRatio = 1;
488 var fallback = components["art"] && components["art"]["fallback"] || "";
488 var fallback = components["art"] && components["art"]["fallback"] || "";