From cf2f64436670cb32778ef522c91d3ba4a13d10bf Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 1 Sep 2017 13:30:58 +0300 Subject: [PATCH] code cosmetics --- manage/filters.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manage/filters.js b/manage/filters.js index 1d0eecce..088abd90 100644 --- a/manage/filters.js +++ b/manage/filters.js @@ -339,7 +339,8 @@ function searchStyles({immediately, container}) { if (!isMatching) { const style = urlMode ? siteStyleIds.has(entry.styleId) : BG.cachedStyles.byId.get(entry.styleId) || {}; - isMatching = Boolean(style && (urlMode || + isMatching = Boolean(style && ( + urlMode || isMatchingText(style.name) || style.url && isMatchingText(style.url) || isMatchingStyle(style)));