diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-12 20:00:14 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-13 23:11:56 -0500 |
commit | e417a3fda36fd798298ff9210d34366a3d0adacc (patch) | |
tree | 4dabc2b36d0ac6f84dcc552cc214f33a446b95dd | |
parent | 69556533e172f32915f84413130ff2630804f5ec (diff) |
Fix incorrect function
-rw-r--r-- | ext/bg/js/backend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index fb680304..719e0361 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -235,7 +235,7 @@ class Backend { modifyOption(path, value, options); } - await this._optionsSave({source}); + await this._onApiOptionsSave({source}); } async _onApiOptionsSave({source}) { @@ -529,7 +529,7 @@ class Backend { const options = await this.getOptions(optionsContext); options.general.enable = !options.general.enable; - await this._optionsSave({source}); + await this._onApiOptionsSave({source}); } // Utilities |