code cosmetics
This commit is contained in:
parent
d3b7b45452
commit
cf2f644366
|
@ -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)));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user