aboutsummaryrefslogtreecommitdiff
path: root/ext/js/comm/api.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-06 22:00:18 -0400
committerGitHub <noreply@github.com>2021-07-06 22:00:18 -0400
commit1088c17503cd6f52019a094ac19f68b0e12ba007 (patch)
treed96b446ff7895d532077f13b493429527acf766a /ext/js/comm/api.js
parent8d1596cdf86976362dc9ed0678412b7b8b1ff20c (diff)
Add support for injecting dictionary media into Anki cards (#1805)
Diffstat (limited to 'ext/js/comm/api.js')
-rw-r--r--ext/js/comm/api.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js
index 7e77180e..7c89f0c5 100644
--- a/ext/js/comm/api.js
+++ b/ext/js/comm/api.js
@@ -56,8 +56,8 @@ class API {
return this._invoke('getAnkiNoteInfo', {notes, fetchAdditionalInfo});
}
- injectAnkiNoteMedia(timestamp, definitionDetails, audioDetails, screenshotDetails, clipboardDetails) {
- return this._invoke('injectAnkiNoteMedia', {timestamp, definitionDetails, audioDetails, screenshotDetails, clipboardDetails});
+ injectAnkiNoteMedia(timestamp, definitionDetails, audioDetails, screenshotDetails, clipboardDetails, dictionaryMediaDetails) {
+ return this._invoke('injectAnkiNoteMedia', {timestamp, definitionDetails, audioDetails, screenshotDetails, clipboardDetails, dictionaryMediaDetails});
}
noteView(noteId) {