aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/pitch-accents-preview-main.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/settings/pitch-accents-preview-main.js')
-rw-r--r--ext/bg/js/settings/pitch-accents-preview-main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/bg/js/settings/pitch-accents-preview-main.js b/ext/bg/js/settings/pitch-accents-preview-main.js
index 59e5b194..23814089 100644
--- a/ext/bg/js/settings/pitch-accents-preview-main.js
+++ b/ext/bg/js/settings/pitch-accents-preview-main.js
@@ -21,7 +21,10 @@
(async () => {
try {
- const displayGenerator = new DisplayGenerator({mediaLoader: null});
+ const displayGenerator = new DisplayGenerator({
+ japaneseUtil: null,
+ mediaLoader: null
+ });
await displayGenerator.prepare();
displayGenerator.preparePitchAccents();
} catch (e) {