summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 18:56:20 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commit62da7ec5cc3efa7011260bebe7366fabcb610ab4 (patch)
treefbf3f0b5c4ba59e6b60af70ea02da98ef5cb3b3f
parentd4296a34cca1f4eeb84fec53608a7e5c6b9b9fb1 (diff)
Update expression-scan-toggle to term-expression-text
-rw-r--r--ext/bg/js/search-frontend.js2
-rw-r--r--ext/fg/js/popup-nested.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/search-frontend.js b/ext/bg/js/search-frontend.js
index 2fe50a13..bd2ddb50 100644
--- a/ext/bg/js/search-frontend.js
+++ b/ext/bg/js/search-frontend.js
@@ -27,7 +27,7 @@ async function searchFrontendSetup() {
const ignoreNodes = ['.scan-disable', '.scan-disable *'];
if (!options.scanning.enableOnPopupExpressions) {
- ignoreNodes.push('.expression-scan-toggle', '.expression-scan-toggle *');
+ ignoreNodes.push('.term-expression-text', '.term-expression-text *');
}
window.frontendInitializationData = {depth: 1, ignoreNodes, proxy: false};
diff --git a/ext/fg/js/popup-nested.js b/ext/fg/js/popup-nested.js
index bacf3b93..e0e52cb7 100644
--- a/ext/fg/js/popup-nested.js
+++ b/ext/fg/js/popup-nested.js
@@ -35,7 +35,7 @@ async function popupNestedInitialize(id, depth, parentFrameId, url) {
const ignoreNodes = ['.scan-disable', '.scan-disable *'];
if (!options.scanning.enableOnPopupExpressions) {
- ignoreNodes.push('.expression-scan-toggle', '.expression-scan-toggle *');
+ ignoreNodes.push('.term-expression-text', '.term-expression-text *');
}
window.frontendInitializationData = {id, depth, parentFrameId, ignoreNodes, url, proxy: true};