aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/main.js
diff options
context:
space:
mode:
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();