Fixed the melding searching not working anymore
parent
ba2b63145f
commit
051f5a1d26
|
|
@ -78,8 +78,9 @@ function filter() {
|
|||
} else if (searchType === "abilities") {
|
||||
// Abilities
|
||||
var hasLine = false;
|
||||
const max = tds.length - 7;
|
||||
for (let i = 0; i < 7; i++) {
|
||||
const id = i + 6;
|
||||
const id = i + max;
|
||||
const ablName = tds[id].innerText.toLowerCase();
|
||||
if (ablName.includes(search)) {
|
||||
applyStyle(tds[id]);
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ table {
|
|||
.charlist {
|
||||
display: inline-grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 15px;
|
||||
gap: 8px;
|
||||
|
||||
.aqua {
|
||||
color: #97c8ff;
|
||||
|
|
|
|||
|
|
@ -221,3 +221,9 @@ input[type="radio"] {
|
|||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
table {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue