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:56:38 -0400
committerGitHub <noreply@github.com>2020-05-29 19:56:38 -0400
commitc62f980f37007743bed004ff43a82a8d7664dac6 (patch)
tree06f4b723bc2ebd2a864d30b0e329d4d672d6dcee /ext/bg/js/settings/main.js
parent5f9889fd26f38396aa6ffaa5c669081b02467393 (diff)
Audio controller (#569)
* Convert audio.js into a class * Move audio-ui.js classes into audio.js * Rename fields * Merge classes * Remove audio-ui.js
Diffstat (limited to 'ext/bg/js/settings/main.js')
-rw-r--r--ext/bg/js/settings/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index 872f8f05..dddaef6c 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -18,12 +18,12 @@
/* global
* AnkiController
* AnkiTemplatesController
+ * AudioController
* ProfileController
* SettingsBackup
* SettingsController
* api
* appearanceInitialize
- * audioSettingsInitialize
* dictSettingsInitialize
* onDictionaryOptionsChanged
* storageInfoInitialize
@@ -319,7 +319,7 @@ async function onReady() {
await settingsPopulateModifierKeys();
formSetupEventListeners();
appearanceInitialize();
- await audioSettingsInitialize();
+ new AudioController().prepare();
await (new ProfileController()).prepare();
await dictSettingsInitialize();
ankiController = new AnkiController();