aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-05-29 19:45:54 -0400
committerGitHub <noreply@github.com>2020-05-29 19:45:54 -0400
commit8537c8f386b7c04f21e62a6b82b179ec9a123ce1 (patch)
tree00bcea4ebf85d240ef8203ac14c867c7b9a4446b /ext/bg/js/settings/main.js
parent37f0396f1cf4f74833d9a4a364f503f4a7c3e34a (diff)
Create class to abstract access, mutation, and events for settings (#565)
Diffstat (limited to 'ext/bg/js/settings/main.js')
-rw-r--r--ext/bg/js/settings/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index f96167af..0cb1734e 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -17,6 +17,7 @@
/* global
* SettingsBackup
+ * SettingsController
* ankiInitialize
* ankiTemplatesInitialize
* ankiTemplatesUpdateValue
@@ -292,6 +293,9 @@ async function onReady() {
api.forwardLogsToBackend();
await yomichan.prepare();
+ const settingsController = new SettingsController();
+ settingsController.prepare();
+
showExtensionInformation();
await settingsPopulateModifierKeys();