diff options
Diffstat (limited to 'ext/mixed/js/audio.js')
-rw-r--r-- | ext/mixed/js/audio.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/audio.js b/ext/mixed/js/audio.js index 8198f5ec..ff50dee1 100644 --- a/ext/mixed/js/audio.js +++ b/ext/mixed/js/audio.js @@ -125,10 +125,10 @@ async function audioGetFromSources(expression, sources, optionsContext, willDown } try { - const audio = await audioGetFromUrl(url, willDownload); + let audio = await audioGetFromUrl(url, willDownload); if (willDownload) { // AnkiConnect handles downloading URLs into cards - audio = null + audio = null; } const result = {audio, url, source}; if (cache !== null) { |