From 5a1e40d566c8152ca5839834f1cb199ea751960a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Mon, 30 Dec 2019 00:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E6=A6=82=E8=A7=84=E5=88=92=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=9A=84=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script.js | 2 ++ solo.html | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/script.js b/script.js index 9cbb98e5..8b41e889 100644 --- a/script.js +++ b/script.js @@ -1172,6 +1172,7 @@ function editBoxChangeMonId(id) mName.innerHTML = returnMonsterNameArr(card, currentLanguage.searchlist, currentDataSource.code)[0]; const evoCardUl = searchBox.querySelector(".evo-card-list"); + evoCardUl.style.display = "none"; //var evoRootId = parseInt(evoCardUl.getAttribute("data-evoRootId")); //读取旧的id //evoCardUl.setAttribute("data-evoRootId",card.evoRootId); //设定新的id let evoLinkCardsIdArray = Cards.filter(function(m){ @@ -1206,6 +1207,7 @@ function editBoxChangeMonId(id) fragment.appendChild(cli); }); evoCardUl.appendChild(fragment); + evoCardUl.style.display = "block"; var mType = monInfoBox.querySelectorAll(".monster-type li"); for (let ti=0;ti