Skip to content

Commit

Permalink
fixup! Add: implement sloppy regexp indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Oct 12, 2018
1 parent e67b7f4 commit 831ca07
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions popup/popup.js
Expand Up @@ -301,9 +301,6 @@ function createStyleElement({
$('.checker', entry).checked = false;
}

// const excluded = popupExclusions.isExcluded(tabURL, style.exclusions);
// entry.classList.toggle('excluded', excluded);

const styleName = $('.style-name', entry);
styleName.lastChild.textContent = style.name;
setTimeout(() => {
Expand All @@ -324,6 +321,7 @@ function createStyleElement({
style.usercssData && Object.keys(style.usercssData.vars || {}).length ?
'' : 'none';

// entry.classList.toggle('excluded', style.excluded);
entry.classList.toggle('not-applied', style.excluded || style.sloppy);
entry.classList.toggle('regexp-partial', style.sloppy);

Expand Down

0 comments on commit 831ca07

Please sign in to comment.