diff options
author | matthewsotoudeh <matthewsot@outlook.com> | 2017-02-05 13:05:56 -0800 |
---|---|---|
committer | matthewsotoudeh <matthewsot@outlook.com> | 2017-02-05 13:05:56 -0800 |
commit | 5bdcc47817c2057f9c0beb4d45606e95b74561d6 (patch) | |
tree | f0fb71ebb50e5aadfa5cdd19b359838b2a2a7d10 | |
parent | f261b9a14fd9757a6a51ac8231c7924bbf6675a8 (diff) |
stop, not end
-rw-r--r-- | content/scripts/speech-rec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/scripts/speech-rec.js b/content/scripts/speech-rec.js index f752c54..c75e312 100644 --- a/content/scripts/speech-rec.js +++ b/content/scripts/speech-rec.js @@ -22,6 +22,6 @@ setInterval(function () { speechRecognizer.recognition.start(); //speechRecognizer.recognition.onend = null; } - speechRecognizer.recognition.end(); + speechRecognizer.recognition.stop(); } }, 1000); |