aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-09 21:08:11 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-13 23:11:56 -0500
commitd6fe5c3e46bfba996e42f94b4303f1106a7fcdab (patch)
treead16df409f2ad1c74baabb3183a57d2c6f1b82d1 /ext
parent4922d3433dbd5472295ac7d6721e1ecac3707da1 (diff)
Move apiOptionsGetFull implementation into Backend
Diffstat (limited to 'ext')
-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 21a70ba7..95ac782e 100644
--- a/ext/bg/js/api.js
+++ b/ext/bg/js/api.js
@@ -62,7 +62,7 @@ async function apiOptionsSet(changedOptions, optionsContext, source) {
}
function apiOptionsGetFull() {
- return utilBackend().getFullOptions();
+ return utilBackend()._onApiOptionsGetFull();
}
async function apiOptionsSave(source) {
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 65f9ab4c..6e3dfae6 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -191,7 +191,7 @@ class Backend {
}
_onApiOptionsGetFull() {
- return apiOptionsGetFull();
+ return this.getFullOptions();
}
_onApiOptionsSet({changedOptions, optionsContext, source}) {