From 67cc89d2a85880067ff929c7504b3dd7ecd08da9 Mon Sep 17 00:00:00 2001 From: s-choi Date: Tue, 29 Sep 2026 15:58:55 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=E5=9B=BA=E5=AE=9A=E8=B2=BB=E3=81=AE?= =?UTF-8?q?=E5=8F=8E=E6=94=AF=E5=8C=BA=E5=88=86=E3=81=8C=E8=87=AA=E5=8B=95?= =?UTF-8?q?=E3=81=A7=E5=85=A5=E5=8A=9B=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=97=E3=81=BE?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/transaction_create.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/resources/templates/transaction_create.html b/src/main/resources/templates/transaction_create.html index 0c818e9..c8295ed 100644 --- a/src/main/resources/templates/transaction_create.html +++ b/src/main/resources/templates/transaction_create.html @@ -122,6 +122,16 @@ const tType = '[[${session.tType}]]'; + console.log("tType: " + tType); + + if (tType.includes("0")) { + console.log("okokokokokokokkkokokokoko"); + transactionType.value = "0"; + } else if (tType.includes("1")) { + transactionType.value = "1"; + } + + function toggleCategory() { if (transactionType.value === "0") { @@ -164,12 +174,6 @@ }); - if (tType == "0") { - transactionType.value = "0"; - } else if (tType == "1") { - transactionType.value = "1"; - } - toggleCategory();