From d6fe5c3e46bfba996e42f94b4303f1106a7fcdab Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 9 Dec 2019 21:08:11 -0500 Subject: Move apiOptionsGetFull implementation into Backend --- ext/bg/js/api.js | 2 +- ext/bg/js/backend.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/bg') 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}) { -- cgit v1.2.3