diff --git a/js/subtitles.js b/js/subtitles.js index e36efdc..54d25b2 100644 --- a/js/subtitles.js +++ b/js/subtitles.js @@ -62,7 +62,7 @@ async function main() { // Continuous Listening spoken.listen.on.end(listen); - spoken.listen.on.error(spoken.listen.on.end({})); + spoken.listen.on.error(listen); // Search Giphy Image spoken.listen.on.partial(candidate);