diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-11-26 22:53:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 22:53:58 -0500 |
commit | 8449322e1c7b083e1096b8168abf162730880f89 (patch) | |
tree | 9b7a92dc3a98dfdd8e2a533198521b6a161889a4 /ext/mixed/js/api.js | |
parent | 3f7c76dbc787e443c6afb13f1a44520885159c1b (diff) |
Fix kanji note creation (#1069)
* Fix kanji note creation
* Move try/catch for consistency
* Move audio normalization
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r-- | ext/mixed/js/api.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index 947f1cd8..c840adca 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -81,8 +81,8 @@ const api = (() => { return this._invoke('getAnkiNoteInfo', {notes, duplicateScope}); } - injectAnkiNoteMedia(expression, reading, timestamp, audioDetails, screenshotDetails, clipboardDetails) { - return this._invoke('injectAnkiNoteMedia', {expression, reading, timestamp, audioDetails, screenshotDetails, clipboardDetails}); + injectAnkiNoteMedia(timestamp, definitionDetails, audioDetails, screenshotDetails, clipboardDetails) { + return this._invoke('injectAnkiNoteMedia', {timestamp, definitionDetails, audioDetails, screenshotDetails, clipboardDetails}); } noteView(noteId) { |