diff --git a/scripts/cheat/item.js b/scripts/cheat/item.js index c9eb94c..347431a 100644 --- a/scripts/cheat/item.js +++ b/scripts/cheat/item.js @@ -15,7 +15,7 @@ function genItem() { -
+
@@ -36,7 +36,7 @@ function genItem() { clearTimeout(delayedSearch); } delayedSearch = setTimeout(() => updateItemList(), 500); - document.getElementById("name-list").style.height = "20em"; + document.getElementById("name-list").style.height = "10em"; }; document.getElementById("clear").onclick = ()=>{ document.getElementById("item-search").value = ""; @@ -88,7 +88,7 @@ function updateItemList() { var filter = document.getElementById("item-search").value; var list = document.getElementById("name-list"); list.innerHTML = ""; - list.style.height = "20em"; + list.style.height = "10em"; item_data.forEach(element => { if (filter == "" || element.name.toLowerCase().indexOf(filter.toLowerCase()) != -1) { var o = document.createElement("label"); diff --git a/scripts/cheat/monster.js b/scripts/cheat/monster.js index d6142a1..7024e3b 100644 --- a/scripts/cheat/monster.js +++ b/scripts/cheat/monster.js @@ -10,7 +10,7 @@ function genMonster() { -
+
@@ -32,7 +32,7 @@ function genMonster() { clearTimeout(delayedSearch); } delayedSearch = setTimeout(() => updateEntityList(), 500); - document.getElementById("name-list").style.height = "20em"; + document.getElementById("name-list").style.height = "10em"; }; document.getElementById("clear").onclick = ()=>{ document.getElementById("entity-search").value = ""; @@ -84,7 +84,7 @@ function updateEntityList() { var filter = document.getElementById("entity-search").value; var list = document.getElementById("name-list"); list.innerHTML = ""; - list.style.height = "20em"; + list.style.height = "10em"; monster_data.forEach(element => { if (filter == "" || element.name.toLowerCase().indexOf(filter.toLowerCase()) != -1) { var o = document.createElement("label"); diff --git a/scripts/cheat/reli.js b/scripts/cheat/reli.js index 722a0e3..a6e7d85 100644 --- a/scripts/cheat/reli.js +++ b/scripts/cheat/reli.js @@ -201,7 +201,7 @@ function updateQualityList() { }) }) }) - document.getElementById("search-box").style.height = "20em"; + document.getElementById("search-box").style.height = "10em"; } }