From a0c6450fc13967af07c1032d88b33875708dabe1 Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 4 Dec 2017 21:00:06 +0300 Subject: [PATCH] only show the note if filtering something --- manage/filters.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manage/filters.js b/manage/filters.js index a198db84..8dd191b9 100644 --- a/manage/filters.js +++ b/manage/filters.js @@ -312,7 +312,8 @@ function showFiltersStats({immediately} = {}) { filtersSelector.numShown = numShown; filtersSelector.numTotal = numTotal; $('#filters-stats').textContent = t('filteredStyles', [numShown, numTotal]); - document.body.classList.toggle('all-styles-hidden-by-filters', !numShown && numTotal); + document.body.classList.toggle('all-styles-hidden-by-filters', + !numShown && numTotal && filtersSelector.hide); } }