minor fixes

This commit is contained in:
2023-02-05 23:23:46 +09:00
parent bfb1d6d3e8
commit 97bdcff481
2 changed files with 3 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
});
}
if (!!attackId) {
console.log(attackId);
invoke("search_move", { index: attackId }).then((r) => {
currentValue = myValue = attackId;
attackData = r;

View File

@@ -232,7 +232,6 @@
let resist = [];
let immune = [];
type_compatibility.forEach((v, i) => {
console.log(v);
switch (v) {
case 4:
super_weakness.push(i + 1);
@@ -634,10 +633,7 @@
<tr
on:click={() => {
console.log("passing" + learnset.name);
console.log(learnset.learnset_id);
console.log(attackId);
attackId = learnset.learnset_id;
console.log(attackId);
}}
>
<td
@@ -719,6 +715,7 @@
border: 1px solid;
vertical-align: middle;
height: 25px;
padding: 5px;
}
.weakness {
width: 90%;
@@ -727,6 +724,7 @@
border: 1px solid;
vertical-align: middle;
min-height: 25px;
padding: 2px;
}
.learnset {
width: 90%;