aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 4929cfaa..22021f5c 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -1772,6 +1772,8 @@ class Display extends EventDispatcher {
searchOnClick: true,
searchOnClickOnly: true
});
+ const excludeSelectors = ['.scan-disable', '.scan-disable *'];
+ this._definitionTextScanner.excludeSelector = excludeSelectors.join(',');
this._definitionTextScanner.prepare();
this._definitionTextScanner.on('searched', this._onDefinitionTextScannerSearched.bind(this));
}