diff --git a/js/chara-detail.js b/js/chara-detail.js index b2a3dc8ca..6afd4998e 100644 --- a/js/chara-detail.js +++ b/js/chara-detail.js @@ -2033,7 +2033,7 @@ if(db.uniequip.charEquip[opKey]){ var equiplist = db.uniequip.charEquip[opKey] - ModuletalentValue = [[0,0],[0,0]] + ModuletalentValue = Array.from({ length: db.uniequip.charEquip[opKey].length-1 }, () => [0, 0]) var num = 1 var tabhtml = "" var contenthtml = ""