diff options
author | matthewsotoudeh <matthewsot@outlook.com> | 2017-02-05 13:00:34 -0800 |
---|---|---|
committer | matthewsotoudeh <matthewsot@outlook.com> | 2017-02-05 13:00:34 -0800 |
commit | c9e3e2ec0af7a27119aa6c8200359afb4e304eec (patch) | |
tree | 698e9dcb33861bf7532a9888d3b311ddd686459b | |
parent | 2544220c1a0176c3a53e0b43519804cc854c1f03 (diff) |
fixed the abstraction again
-rw-r--r-- | ps/sr-abstraction.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ps/sr-abstraction.js b/ps/sr-abstraction.js index 4ff9e06..14b9988 100644 --- a/ps/sr-abstraction.js +++ b/ps/sr-abstraction.js @@ -16,7 +16,7 @@ if (typeof SpeechRecognition == "undefined" && typeof webkitSpeechRecognition == }; } else { console.log("Using browser speech recognition API"); - speechRecgonizer.recognition; + speechRecgonizer.recognition = null; if (webkitSpeechRecognition) { speechRecognizer.recognition = new webkitSpeechRecognition(); } else { |