aboutsummaryrefslogtreecommitdiff
path: root/src/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.js')
-rw-r--r--src/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js
index 3a97cfc..9c25776 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -100,6 +100,7 @@ function genYdke(deck) {
}
function cardImageUrl(id) {
+ id = String(id);
if (id.length <= 8) {
return "https://cdn.233.momobako.com/ygopro/pics/" + id + '.jpg';
}