Browse Source

ja写错成jp的BUG

tags/v1.0
枫谷剑仙 7 years ago
parent
commit
9b019e78f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      script.js

+ 1
- 1
script.js View File

@@ -388,7 +388,7 @@ function changeid(mon,monDom,latentDom)
monDom.parentNode.classList.remove("delay");
monDom.className = "monster";
monDom.classList.add("pet-cards-" + Math.ceil(mon.id/100)); //添加图片编号
if (md.name["jp"] == undefined || /^\?+/.test(md.name["jp"])) //如果没日文或日文是问号,就改为英文的图片
if (md.name["ja"] == undefined || /^\?+/.test(md.name["ja"])) //如果没日文或日文是问号,就改为英文的图片
monDom.classList.add("en-only");
else
monDom.classList.remove("en-only");


Loading…
Cancel
Save