summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 74cd2ab4..5753e16e 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -234,8 +234,10 @@ class Backend {
await this._optionsSave({source});
}
- _onApiOptionsSave({source}) {
- return apiOptionsSave(source);
+ async _onApiOptionsSave({source}) {
+ const options = await this.getFullOptions();
+ await optionsSave(options);
+ this.onOptionsUpdated(source);
}
_onApiKanjiFind({text, optionsContext}) {