diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-01-17 02:02:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-17 02:02:33 +0200 |
commit | 0e1e737afda14310bf0904a8d4f0a1031a800a99 (patch) | |
tree | ae2de7c8bf26a01cd6b30350cfd8e04622f13440 /ext/fg/js | |
parent | 9b4ec5a094cddc65e2444f022b19465fccddda75 (diff) | |
parent | 8292be92d8958fc09dceb7c6bf252ac1c170ed1a (diff) |
Merge pull request #326 from siikamiika/query-parser-text-scanner
use TextScanner in QueryParser
Diffstat (limited to 'ext/fg/js')
-rw-r--r-- | ext/fg/js/frontend.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 034d9075..9621ed2b 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -90,9 +90,8 @@ class Frontend extends TextScanner { } async updateOptions() { - this.options = await apiOptionsGet(this.getOptionsContext()); + this.setOptions(await apiOptionsGet(this.getOptionsContext())); await this.popup.setOptions(this.options); - this.setEnabled(this.options.general.enable); } async onSearchSource(textSource, cause) { |