diff --git a/manage/filters.js b/manage/filters.js index 522694f6..e98b754b 100644 --- a/manage/filters.js +++ b/manage/filters.js @@ -333,7 +333,7 @@ function showFiltersStats() { debounce(showFiltersStats, 100); return; } - $('#filters').classList.toggle('active', filtersSelector.hide !== ''); + $('#filters summary').classList.toggle('active', filtersSelector.hide !== ''); const numTotal = BG.cachedStyles.list.length; const numHidden = installed.getElementsByClassName('entry hidden').length; const numShown = Math.min(numTotal - numHidden, installed.children.length); diff --git a/manage/manage.css b/manage/manage.css index 234d334d..dfc1affd 100644 --- a/manage/manage.css +++ b/manage/manage.css @@ -811,8 +811,8 @@ input[id^="manage.newUI"] { margin-top: 4px; } -#filters:not(.active) #reset-filters, -#filters:not(.active) #filters-stats { +#filters summary:not(.active) #reset-filters, +#filters summary:not(.active) #filters-stats { display: none; }