summaryrefslogtreecommitdiff
path: root/ext/js/display/popup-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/popup-main.js')
-rw-r--r--ext/js/display/popup-main.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/js/display/popup-main.js b/ext/js/display/popup-main.js
index 0b5e338d..8621e200 100644
--- a/ext/js/display/popup-main.js
+++ b/ext/js/display/popup-main.js
@@ -17,6 +17,8 @@
/* global
* Display
+ * DisplayAnki
+ * DisplayAudio
* DisplayProfileSelection
* DisplayResizer
* DocumentFocusController
@@ -41,6 +43,12 @@
const display = new Display(tabId, frameId, 'popup', japaneseUtil, documentFocusController, hotkeyHandler);
await display.prepare();
+ const displayAudio = new DisplayAudio(display);
+ displayAudio.prepare();
+
+ const displayAnki = new DisplayAnki(display, displayAudio, japaneseUtil);
+ displayAnki.prepare();
+
const displayProfileSelection = new DisplayProfileSelection(display);
displayProfileSelection.prepare();