fixup 1951bc89: always debounce note update
This commit is contained in:
parent
294917ed4d
commit
e50de59669
|
@ -261,7 +261,7 @@ function reapplyFilter(container = installed) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (fullPass) {
|
if (fullPass) {
|
||||||
showFiltersStats();
|
showFiltersStats({immediately: true});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -298,9 +298,9 @@ function reapplyFilter(container = installed) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function showFiltersStats() {
|
function showFiltersStats({immediately} = {}) {
|
||||||
if (!BG.cachedStyles.list) {
|
if (!immediately || !BG.cachedStyles.list) {
|
||||||
debounce(showFiltersStats, 100);
|
debounce(showFiltersStats, 100, {immediately: true});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$('#filters').classList.toggle('active', filtersSelector.hide !== '');
|
$('#filters').classList.toggle('active', filtersSelector.hide !== '');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user