diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-01-16 23:22:38 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-01-16 23:22:38 +0200 |
commit | 8292be92d8958fc09dceb7c6bf252ac1c170ed1a (patch) | |
tree | ae2de7c8bf26a01cd6b30350cfd8e04622f13440 /ext/bg/js/search.js | |
parent | 9b4ec5a094cddc65e2444f022b19465fccddda75 (diff) |
use TextScanner in QueryParser
Diffstat (limited to 'ext/bg/js/search.js')
-rw-r--r-- | ext/bg/js/search.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/bg/js/search.js b/ext/bg/js/search.js index a4103ef2..ba66d5a9 100644 --- a/ext/bg/js/search.js +++ b/ext/bg/js/search.js @@ -236,6 +236,11 @@ class DisplaySearch extends Display { } } + async updateOptions(options) { + await super.updateOptions(options); + this.queryParser.setOptions(this.options); + } + initClipboardMonitor() { // ignore copy from search page window.addEventListener('copy', () => { |