summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-12 20:00:14 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-13 23:11:56 -0500
commite417a3fda36fd798298ff9210d34366a3d0adacc (patch)
tree4dabc2b36d0ac6f84dcc552cc214f33a446b95dd /ext/bg/js
parent69556533e172f32915f84413130ff2630804f5ec (diff)
Fix incorrect function
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/backend.js4
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