diff options
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/search-query-parser.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/js/search-query-parser.js b/ext/bg/js/search-query-parser.js index 8c3159cd..dfab0d9a 100644 --- a/ext/bg/js/search-query-parser.js +++ b/ext/bg/js/search-query-parser.js @@ -32,7 +32,8 @@ class QueryParser { } onClick(e) { - this.onTermLookup(e, {disableScroll: true, selectText: true}); + const selectText = this.search.options.scanning.selectText; + this.onTermLookup(e, {disableScroll: true, selectText}); } onMouseEnter(e) { @@ -52,7 +53,8 @@ class QueryParser { return; } - this.onTermLookup(e, {disableScroll: true, selectText: true, disableHistory: true}); + const selectText = this.search.options.scanning.selectText; + this.onTermLookup(e, {disableScroll: true, disableHistory: true, selectText}); } onTermLookup(e, params) { |