diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-04-03 15:18:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 15:18:52 -0400 |
commit | 4d5db960d27d72366824cc57a5db95626631b858 (patch) | |
tree | 1de907597b8442cc14a13e5898e972b0bbe430cb | |
parent | 0e26d9a667e2794346c8969a24d389eb45208df1 (diff) |
Fix debug log of Anki note data using old format (#1589)
-rw-r--r-- | ext/js/data/anki-note-builder.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/data/anki-note-builder.js b/ext/js/data/anki-note-builder.js index b84b2eda..13e83aaf 100644 --- a/ext/js/data/anki-note-builder.js +++ b/ext/js/data/anki-note-builder.js @@ -94,8 +94,8 @@ class AnkiNoteBuilder { injectedMedia=null, marker=null }) { - const data = this._createData(definition, mode, context, resultOutputMode, glossaryLayoutMode, compactTags, injectedMedia); - return await this._templateRenderer.getModifiedData({data, marker}, 'ankiNote'); + const commonData = this._createData(definition, mode, context, resultOutputMode, glossaryLayoutMode, compactTags, injectedMedia); + return await this._templateRenderer.getModifiedData({marker, commonData}, 'ankiNote'); } // Private |