diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-12-14 22:56:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 22:56:38 -0500 |
commit | 7926821c48ad512b0c9bd2420216a36fe2237e4f (patch) | |
tree | 054019bb183a15f5939c7fcdb8add13d3ef01bd1 /ext/bg/js/audio-downloader.js | |
parent | e29c7527938ab37fa90668d5ad9537e4f4a31e67 (diff) |
Rename SimpleDOMParser to NativeSimpleDOMParser (#1113)
Diffstat (limited to 'ext/bg/js/audio-downloader.js')
-rw-r--r-- | ext/bg/js/audio-downloader.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/audio-downloader.js b/ext/bg/js/audio-downloader.js index 77cd7294..ddddfe18 100644 --- a/ext/bg/js/audio-downloader.js +++ b/ext/bg/js/audio-downloader.js @@ -16,7 +16,7 @@ */ /* global - * SimpleDOMParser + * NativeSimpleDOMParser */ class AudioDownloader { @@ -109,7 +109,7 @@ class AudioDownloader { }); const responseText = await response.text(); - const dom = new SimpleDOMParser(responseText); + const dom = new NativeSimpleDOMParser(responseText); for (const row of dom.getElementsByClassName('dc-result-row')) { try { const audio = dom.getElementByTagName('audio', row); @@ -149,7 +149,7 @@ class AudioDownloader { }); const responseText = await response.text(); - const dom = new SimpleDOMParser(responseText); + const dom = new NativeSimpleDOMParser(responseText); try { const audio = dom.getElementById(`audio_${expression}:${reading}`); if (audio !== null) { |