Skip to content

Commit 5050afa

Browse files
authored
Merge pull request wesbos#740 from RoccoMangone/patch-1
Fixed SpeechDetection 'end' event listener
2 parents 30082a2 + 0600543 commit 5050afa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

20 - Speech Detection/index-FINISHED.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737
});
3838

39-
recognition.addEventListener('end', recognition.start);
39+
recognition.addEventListener('end', () => recognition.start());
4040

4141
recognition.start();
4242

0 commit comments

Comments
 (0)