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});
|
filterContainer({hide: true});
|
||||||
}
|
}
|
||||||
if (!toHide.length) {
|
if (!toHide.length) {
|
||||||
showFiltersStats({immediately: true});
|
showFiltersStats();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (const entry of toHide) {
|
for (const entry of toHide) {
|
||||||
|
@ -298,9 +298,9 @@ function reapplyFilter(container = installed) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function showFiltersStats({immediately} = {}) {
|
function showFiltersStats() {
|
||||||
if (!immediately || !BG.cachedStyles.list) {
|
if (!BG.cachedStyles.list) {
|
||||||
debounce(showFiltersStats, 100, {immediately: true});
|
debounce(showFiltersStats, 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$('#filters').classList.toggle('active', filtersSelector.hide !== '');
|
$('#filters').classList.toggle('active', filtersSelector.hide !== '');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user