diff options
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r-- | ext/bg/js/backend.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js index e9f4f924..0c901c68 100644 --- a/ext/bg/js/backend.js +++ b/ext/bg/js/backend.js @@ -518,8 +518,8 @@ class Backend { return await this._anki.guiBrowse(`nid:${noteId}`); } - async _onApiTemplateRender({template, data}) { - return this._renderTemplate(template, data); + async _onApiTemplateRender({template, data, marker}) { + return this._renderTemplate(template, data, marker); } _onApiCommandExec({command, params}) { @@ -1339,8 +1339,8 @@ class Backend { return false; } - async _renderTemplate(template, data) { - return await this._templateRenderer.render(template, data); + async _renderTemplate(template, data, marker) { + return await this._templateRenderer.render(template, data, marker); } _getTemplates(options) { |