From fb183ac525a54c0b8ef84a361193215c790c8d43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Thu, 5 Sep 2019 09:20:15 +0900 Subject: [PATCH] Fix: (hotfix) admin upgrade bug --- src/web/admin/admin_upgrade_list.html | 4 ++-- src/web/js/lib/account_info.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/admin/admin_upgrade_list.html b/src/web/admin/admin_upgrade_list.html index a19579d..01c18ca 100644 --- a/src/web/admin/admin_upgrade_list.html +++ b/src/web/admin/admin_upgrade_list.html @@ -151,11 +151,11 @@ } else if (children[i].className == "maestro_id d-none") { maestroID = children[i].value; continue; - } else if (children[i].className == "registered_account_type col-sm") { + } else if (children[i].className == "registered_account_type col-sm text-right") { // upgradeAccountType = children[i].value; registeredAccountType = accountTypeValue(children[i].value); continue; - } else if (children[i].className == "new_account_type col-sm") { + } else if (children[i].className == "new_account_type col-sm text-right") { // upgradeAccountType = children[i].value; upgradeAccountType = accountTypeValue(children[i].value); continue; diff --git a/src/web/js/lib/account_info.js b/src/web/js/lib/account_info.js index 165fcbd..e50938c 100644 --- a/src/web/js/lib/account_info.js +++ b/src/web/js/lib/account_info.js @@ -118,7 +118,7 @@ function accountTypePrice(accountType) { return 0; } -function accoutTypeValue(accountType) { +function accountTypeValue(accountType) { switch(accountType) { case "20명 (1만원)": return 1;