diff options
author | Alex Yatskov <FooSoft@users.noreply.github.com> | 2019-09-08 19:34:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-08 19:34:39 -0700 |
commit | cc53510883b5c5f75069655df6a6733ff1bd002a (patch) | |
tree | eb600ad20c6df3977db962b0a1b94bc566b8ae6f /ext/fg | |
parent | c53263158b22f4be8e54696c4675f360f1813de8 (diff) | |
parent | eb98dfb1a86d42a0ecfe54d8eb978c47aa1c0f8b (diff) |
Merge pull request #204 from toasted-nutbread/settings-improvements
Settings improvements
Diffstat (limited to 'ext/fg')
-rw-r--r-- | ext/fg/js/api.js | 4 | ||||
-rw-r--r-- | ext/fg/js/frontend.js | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js index 6bcb0dbb..aa3b2629 100644 --- a/ext/fg/js/api.js +++ b/ext/fg/js/api.js @@ -17,10 +17,6 @@ */ -function apiOptionsSet(options) { - return utilInvoke('optionsSet', {options}); -} - function apiOptionsGet() { return utilInvoke('optionsGet'); } diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 079a7ef2..52620933 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -261,7 +261,7 @@ class Frontend { onBgMessage({action, params}, sender, callback) { const handlers = { - optionsSet: options => { + optionsSet: ({options}) => { this.options = options; if (!this.options.enable) { this.searchClear(); |