aboutsummaryrefslogtreecommitdiff
path: root/ext/js/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/templates')
-rw-r--r--ext/js/templates/template-renderer-frame-main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/templates/template-renderer-frame-main.js b/ext/js/templates/template-renderer-frame-main.js
index d25eb56d..a3892002 100644
--- a/ext/js/templates/template-renderer-frame-main.js
+++ b/ext/js/templates/template-renderer-frame-main.js
@@ -28,6 +28,6 @@
templateRenderer.registerDataType('ankiNote', {
modifier: ({data, marker}) => new AnkiNoteData(data, marker).createPublic()
});
- const api = new TemplateRendererFrameApi(templateRenderer);
- api.prepare();
+ const templateRendererFrameApi = new TemplateRendererFrameApi(templateRenderer);
+ templateRendererFrameApi.prepare();
})();