From d711cccffcd349db443ef1a094e3573cdd651f2b Mon Sep 17 00:00:00 2001
From: Mistivia <i@mistivia.com>
Date: Sat, 4 Oct 2025 13:49:15 +0800
Subject: fix id

---
 src/left_panel.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/left_panel.js b/src/left_panel.js
index 69df7f2..16f4826 100644
--- a/src/left_panel.js
+++ b/src/left_panel.js
@@ -293,6 +293,8 @@ function setDesc(version, id) {
         let urlId = id;
         if (specialCards.hasOwnProperty(urlId)) {
             urlId = specialCards[urlId];
+        } else {
+            urlId = urlId.padStart(8, '0');
         }
         let descUrl = 'https://raye.mistivia.com/cardtext/' + urlId + '.json';
         fetch(descUrl)
-- 
cgit v1.0

