From 0fd5d100c9f7e568c2637249baeee92354c222df Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 26 Feb 2018 23:16:10 +0300 Subject: [PATCH] update filter stats after deleting a style --- manage/manage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manage/manage.js b/manage/manage.js index 47c77aaf..85da3292 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -1,6 +1,6 @@ /* global messageBox getStyleWithNoCode retranslateCSS -global filtersSelector filterAndAppend urlFilterParam +global filtersSelector filterAndAppend urlFilterParam showFiltersStats global checkUpdate handleUpdateInstalled global objectDiff global configDialog @@ -574,6 +574,7 @@ function handleDelete(id) { const btnApply = $('#apply-all-updates'); btnApply.dataset.value = Number(btnApply.dataset.value) - 1; } + showFiltersStats(); } }