aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display-generator.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/display/display-generator.js')
-rw-r--r--ext/js/display/display-generator.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/js/display/display-generator.js b/ext/js/display/display-generator.js
index 05376ee5..18159f68 100644
--- a/ext/js/display/display-generator.js
+++ b/ext/js/display/display-generator.js
@@ -18,7 +18,6 @@
/* global
* DictionaryDataUtil
* HtmlTemplateCollection
- * api
*/
class DisplayGenerator {
@@ -31,7 +30,7 @@ class DisplayGenerator {
}
async prepare() {
- const html = await api.getDisplayTemplatesHtml();
+ const html = await yomichan.api.getDisplayTemplatesHtml();
this._templates = new HtmlTemplateCollection(html);
this.updateHotkeys();
}