File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,10 +97,6 @@ async function speakFromControls(input) {
9797 console . log ( "SpeechSynthesisUtterance.onend" ) ;
9898 } ;
9999
100- utterThis . onerror = function ( e ) {
101- console . error ( "SpeechSynthesisUtterance.onerror" , e ) ;
102- } ;
103-
104100 const available = speechSynthesis . getVoices ( ) ;
105101 let voice = null ;
106102 voice = available . find ( v => v . default ) || available [ 0 ] ;
Original file line number Diff line number Diff line change @@ -98,10 +98,6 @@ async function speakFromControls(input) {
9898 console . log ( "SpeechSynthesisUtterance.onend" ) ;
9999 } ;
100100
101- utterThis . onerror = function ( e ) {
102- console . error ( "SpeechSynthesisUtterance.onerror" , e ) ;
103- } ;
104-
105101 const available = speechSynthesis . getVoices ( ) ;
106102 let voice = null ;
107103 voice = available . find ( v => v . default ) || available [ 0 ] ;
You can’t perform that action at this time.
0 commit comments