diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-30 12:15:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-30 12:15:07 -0400 |
commit | efd35de67f6700ecf4f49a87d310d99cefbaa328 (patch) | |
tree | b031d5c24b3e118efb868bf1b098bb10cf3b2c3e /ext/js/comm/api.js | |
parent | 0f0e80aadb97c95d307dcd97edabd2087d0a1743 (diff) |
Refactor display audio options (#1717)
* Update how options are updated and stored in DisplayAudio
* Add source list
* Improve menus for custom json
* Clear cache after options update
* Move function
* Update public API
* Simplify playing audio from a specific source
* Simplify audio list
* Refactor audio source usage
* Refactoring
* Refactor argument names
* Fix incorrect source usage
* Remove unused
* Remove return value
* Simplify details
* Simplify Anki card audio details
* Update the data that is passed to AudioDownloader
* Simplify schema handling
* Remove unnecessary details
Diffstat (limited to 'ext/js/comm/api.js')
-rw-r--r-- | ext/js/comm/api.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/comm/api.js b/ext/js/comm/api.js index 3795dcf4..7e77180e 100644 --- a/ext/js/comm/api.js +++ b/ext/js/comm/api.js @@ -68,8 +68,8 @@ class API { return this._invoke('suspendAnkiCardsForNote', {noteId}); } - getTermAudioInfoList(source, term, reading, details) { - return this._invoke('getTermAudioInfoList', {source, term, reading, details}); + getTermAudioInfoList(source, term, reading) { + return this._invoke('getTermAudioInfoList', {source, term, reading}); } commandExec(command, params) { |