summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index ef56f4aa..a62e0212 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -25,7 +25,7 @@
* MediaLoader
* PopupFactory
* QueryParser
- * TemplateRenderer
+ * TemplateRendererProxy
* WindowScroll
* api
* dynamicLoader
@@ -87,7 +87,7 @@ class Display extends EventDispatcher {
this._ownerFrameId = null;
this._defaultAnkiFieldTemplates = null;
this._defaultAnkiFieldTemplatesPromise = null;
- this._templateRenderer = new TemplateRenderer();
+ this._templateRenderer = new TemplateRendererProxy();
this._ankiNoteBuilder = new AnkiNoteBuilder({
renderTemplate: this._renderTemplate.bind(this)
});