minor fixes

This commit is contained in:
NightFox 2024-02-15 19:22:56 +03:00
parent 3ece3ebd0b
commit 1930a8df7b
2 changed files with 7 additions and 1 deletions

View File

@ -435,8 +435,11 @@ th.table-sticky {
.filter { .filter {
display: block; display: block;
padding: 10px 4px; padding: 10px 4px;
font-weight: bold;
font-size: 16px; font-size: 16px;
font-weight: bold;
}
.filter * {
font-weight: normal;
} }
.mini .filter { .mini .filter {
font-size: 12px; font-size: 12px;

View File

@ -271,6 +271,9 @@ const loadFromLocalStorage = (key, default_option) => {
} else } else
if (value === null) { if (value === null) {
return default_option ? default_option : null; return default_option ? default_option : null;
} else
if (value === "") {
return value;
} }
return parseFloat(value); // fix !!"0" = true return parseFloat(value); // fix !!"0" = true
} }