diff --git a/src/util/index.js b/src/util/index.js index ebf065df..80c87c9d 100644 --- a/src/util/index.js +++ b/src/util/index.js @@ -920,9 +920,6 @@ export function initSpeechRecognition(recognitionCallbackFn, finCallbackFn) { } export function setSpeechRecognitionLang(lang) { - if (!listenEngine) { - util.loadSpeechRecognition(); - } if (!listenEngine) { return; } @@ -939,9 +936,6 @@ export function stopSpeechRecognition() { } export function startSpeechRecognition() { - if (!listenEngine) { - loadSpeechRecognition(); - } if (listening || !listenEngine) { return; }