Update expression-scan-toggle to term-expression-text

This commit is contained in:
toasted-nutbread 2020-01-16 18:56:20 -05:00
parent d4296a34cc
commit 62da7ec5cc
2 changed files with 2 additions and 2 deletions

View File

@ -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};

View File

@ -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};