code cosmetics

This commit is contained in:
tophf 2017-09-01 13:30:58 +03:00
parent d3b7b45452
commit cf2f644366

View File

@ -339,7 +339,8 @@ function searchStyles({immediately, container}) {
if (!isMatching) { if (!isMatching) {
const style = urlMode ? siteStyleIds.has(entry.styleId) : const style = urlMode ? siteStyleIds.has(entry.styleId) :
BG.cachedStyles.byId.get(entry.styleId) || {}; BG.cachedStyles.byId.get(entry.styleId) || {};
isMatching = Boolean(style && (urlMode || isMatching = Boolean(style && (
urlMode ||
isMatchingText(style.name) || isMatchingText(style.name) ||
style.url && isMatchingText(style.url) || style.url && isMatchingText(style.url) ||
isMatchingStyle(style))); isMatchingStyle(style)));