aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/api.js2
-rw-r--r--ext/bg/js/backend.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js
index 5c9c7ab0..21a70ba7 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -18,7 +18,7 @@
function apiOptionsGet(optionsContext) {
- return utilBackend().getOptions(optionsContext);
+ return utilBackend()._onApiOptionsGet({optionsContext});
}
async function apiOptionsSet(changedOptions, optionsContext, source) {
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 72802ea1..65f9ab4c 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -187,7 +187,7 @@ class Backend {
// Message handlers
_onApiOptionsGet({optionsContext}) {
- return apiOptionsGet(optionsContext);
+ return this.getOptions(optionsContext);
}
_onApiOptionsGetFull() {