diff --git a/js/SpeechSynthesisAnnouncer.js b/js/SpeechSynthesisAnnouncer.js index 94656e0..00f734c 100644 --- a/js/SpeechSynthesisAnnouncer.js +++ b/js/SpeechSynthesisAnnouncer.js @@ -570,9 +570,6 @@ class SpeechSynthesisAnnouncer extends Announcer { cancelSynth() { assert && assert( this.initialized, 'must be initialized to use synth' ); this.getSynth().cancel(); - - // in case we were waiting for the synth to speak something - this.pendingUtterance = null; } /**