From 27ad478f8cd462fc521efc18915df74627856c47 Mon Sep 17 00:00:00 2001 From: tophf Date: Fri, 1 Sep 2017 11:04:24 +0300 Subject: [PATCH] fixup fb7f7d54: isMatching must be boolean --- manage/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manage/filters.js b/manage/filters.js index 8d96b601..1d0eecce 100644 --- a/manage/filters.js +++ b/manage/filters.js @@ -339,7 +339,7 @@ function searchStyles({immediately, container}) { if (!isMatching) { const style = urlMode ? siteStyleIds.has(entry.styleId) : BG.cachedStyles.byId.get(entry.styleId) || {}; - isMatching = urlMode ? style : Boolean(style && ( + isMatching = Boolean(style && (urlMode || isMatchingText(style.name) || style.url && isMatchingText(style.url) || isMatchingStyle(style)));