mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use toggle class
This commit is contained in:
parent
7074d41a56
commit
f6a29d868a
1 changed files with 1 additions and 5 deletions
|
@ -40,11 +40,7 @@ export function setFilterStatus(page, hasFilters) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (indicatorElem) {
|
if (indicatorElem) {
|
||||||
if (hasFilters) {
|
indicatorElem.classList.toggle('hide', !hasFilters);
|
||||||
indicatorElem.classList.remove('hide');
|
|
||||||
} else {
|
|
||||||
indicatorElem.classList.add('hide');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue