From 831ca07c2d770271bc069d599eaee47d9705cffe Mon Sep 17 00:00:00 2001 From: eight Date: Fri, 12 Oct 2018 17:29:35 +0800 Subject: [PATCH] fixup! Add: implement sloppy regexp indicator --- popup/popup.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/popup/popup.js b/popup/popup.js index 21ab5bc5..6dbc7591 100644 --- a/popup/popup.js +++ b/popup/popup.js @@ -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(() => { @@ -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);