diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-06 21:07:29 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-06 21:23:35 -0400 |
commit | 7db2c661054113966644c9055e5b60e29bbeb068 (patch) | |
tree | fc98a8c4740cf6e7e59cfc13705d57bb4360f65b /ext/fg/js/frontend.js | |
parent | 13b184707b1bb0c5150645d6cdd186accb345f60 (diff) |
Use consistent structure for params
Diffstat (limited to 'ext/fg/js/frontend.js')
-rw-r--r-- | ext/fg/js/frontend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index b70bf036..6806e2c3 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(); |