summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthewsotoudeh <matthewsot@outlook.com>2017-02-05 13:00:34 -0800
committermatthewsotoudeh <matthewsot@outlook.com>2017-02-05 13:00:34 -0800
commitc9e3e2ec0af7a27119aa6c8200359afb4e304eec (patch)
tree698e9dcb33861bf7532a9888d3b311ddd686459b
parent2544220c1a0176c3a53e0b43519804cc854c1f03 (diff)
fixed the abstraction again
-rw-r--r--ps/sr-abstraction.js2
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 {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback