aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
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