diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-08 13:16:05 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-09-15 15:56:53 -0400 |
commit | 6c571bf8284c44bf01fe20c267fe72cce235b90d (patch) | |
tree | 865cdde968346bb5e4d4a5ba6c9c82bc1c220bc6 /ext/bg/js/settings.js | |
parent | c8171f5ec7612f0ba147d7e0887cd8c30a527827 (diff) |
Add UI for profiles
Diffstat (limited to 'ext/bg/js/settings.js')
-rw-r--r-- | ext/bg/js/settings.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ext/bg/js/settings.js b/ext/bg/js/settings.js index 88929c49..b6434843 100644 --- a/ext/bg/js/settings.js +++ b/ext/bg/js/settings.js @@ -16,12 +16,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -function getOptionsContext() { - return { - depth: 0 - }; -} - async function formRead(options) { options.general.enable = $('#enable').prop('checked'); options.general.showGuide = $('#show-usage-guide').prop('checked'); @@ -239,11 +233,8 @@ async function onFormOptionsChanged(e) { } async function onReady() { - const optionsContext = getOptionsContext(); - const options = await apiOptionsGet(optionsContext); - formSetupEventListeners(); - await formWrite(options); + await profileOptionsSetup(); storageInfoInitialize(); |