mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/components/filterdialog/filterdialog.js
Co-authored-by: viown <48097677+viown@users.noreply.github.com>
This commit is contained in:
parent
9a689754b9
commit
c36e054435
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ function triggerChange(instance) {
|
||||||
Events.trigger(instance, 'filterchange');
|
Events.trigger(instance, 'filterchange');
|
||||||
// show or hide reset filter button on any filter change
|
// show or hide reset filter button on any filter change
|
||||||
const elem = document.querySelector('.btnResetAllFilters');
|
const elem = document.querySelector('.btnResetAllFilters');
|
||||||
if (getFilterStatus(instance.options.query) === true) {
|
if (getFilterStatus(instance.options.query)) {
|
||||||
elem.classList.remove('hide');
|
elem.classList.remove('hide');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue