diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-07 19:00:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 19:00:58 -0400 |
commit | fa68a8773605ee0943e1c5e9766fa6bcfb6c6a42 (patch) | |
tree | 3ac714d3b485b1a1b6b349f48a91a67045256f81 /ext/mixed/js/api.js | |
parent | 3df78904cf734da208c6fd1b6ae1cd6612323148 (diff) | |
parent | 29cf8d2f79f23b7723d508085ca242396bbbd5c9 (diff) |
Merge pull request #415 from toasted-nutbread/anki-marker-document-title
Anki marker document title
Diffstat (limited to 'ext/mixed/js/api.js')
-rw-r--r-- | ext/mixed/js/api.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/mixed/js/api.js b/ext/mixed/js/api.js index 0ab07039..feec94df 100644 --- a/ext/mixed/js/api.js +++ b/ext/mixed/js/api.js @@ -53,12 +53,12 @@ function apiKanjiFind(text, optionsContext) { return _apiInvoke('kanjiFind', {text, optionsContext}); } -function apiDefinitionAdd(definition, mode, context, optionsContext) { - return _apiInvoke('definitionAdd', {definition, mode, context, optionsContext}); +function apiDefinitionAdd(definition, mode, context, details, optionsContext) { + return _apiInvoke('definitionAdd', {definition, mode, context, details, optionsContext}); } -function apiDefinitionsAddable(definitions, modes, optionsContext) { - return _apiInvoke('definitionsAddable', {definitions, modes, optionsContext}); +function apiDefinitionsAddable(definitions, modes, context, optionsContext) { + return _apiInvoke('definitionsAddable', {definitions, modes, context, optionsContext}); } function apiNoteView(noteId) { |