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