Fixed the melding searching not working anymore

master
Wynd 2026-01-17 13:48:44 +02:00
parent ba2b63145f
commit 051f5a1d26
3 changed files with 9 additions and 2 deletions

View File

@ -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]);

View File

@ -14,7 +14,7 @@ table {
.charlist {
display: inline-grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
gap: 8px;
.aqua {
color: #97c8ff;

View File

@ -221,3 +221,9 @@ input[type="radio"] {
opacity: 1;
}
}
@media (max-width: 768px) {
table {
font-size: 12px;
}
}