summaryrefslogtreecommitdiff
path: root/ext/mixed/js/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-03-10 19:20:34 -0400
committerGitHub <noreply@github.com>2020-03-10 19:20:34 -0400
commit36c55f0b17e7c2697543edc38e444d01da4f4a5c (patch)
treebeb7cb0baf66bf5d0f07919153c6586790345f33 /ext/mixed/js/display.js
parent7541517d8084b50e054393f3b4fa6d4630ad012e (diff)
parent0cbf427ab50061b48c9027e63e9ee8a209946d37 (diff)
Merge pull request #401 from toasted-nutbread/audio-refactor
Audio refactor
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r--ext/mixed/js/display.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 3fe8e684..a220c1f7 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -18,7 +18,7 @@
/*global docRangeFromPoint, docSentenceExtract
apiKanjiFind, apiTermsFind, apiNoteView, apiOptionsGet, apiDefinitionsAddable, apiDefinitionAdd
-apiScreenshotGet, apiForward, apiAudioGetUrl
+apiScreenshotGet, apiForward, apiAudioGetUri
AudioSystem, DisplayGenerator, WindowScroll, DisplayContext, DOM*/
class Display {
@@ -919,6 +919,6 @@ class Display {
async _getAudioUri(definition, source) {
const optionsContext = this.getOptionsContext();
- return await apiAudioGetUrl(definition, source, optionsContext);
+ return await apiAudioGetUri(definition, source, optionsContext);
}
}