fix the note for good, hopefully
This commit is contained in:
parent
a0c6450fc1
commit
8ca4253be4
|
@ -158,7 +158,7 @@ function reapplyFilter(container = installed) {
|
|||
filterContainer({hide: true});
|
||||
}
|
||||
if (!toHide.length) {
|
||||
showFiltersStats({immediately: true});
|
||||
showFiltersStats();
|
||||
return;
|
||||
}
|
||||
for (const entry of toHide) {
|
||||
|
@ -298,9 +298,9 @@ function reapplyFilter(container = installed) {
|
|||
}
|
||||
|
||||
|
||||
function showFiltersStats({immediately} = {}) {
|
||||
if (!immediately || !BG.cachedStyles.list) {
|
||||
debounce(showFiltersStats, 100, {immediately: true});
|
||||
function showFiltersStats() {
|
||||
if (!BG.cachedStyles.list) {
|
||||
debounce(showFiltersStats, 100);
|
||||
return;
|
||||
}
|
||||
$('#filters').classList.toggle('active', filtersSelector.hide !== '');
|
||||
|
|
Loading…
Reference in New Issue
Block a user