File tree Expand file tree Collapse file tree
Document-Processing/PDF/PDF-Viewer/blazor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,10 +141,6 @@ async function speakFromControls(input) {
141141 console.log("SpeechSynthesisUtterance.onend");
142142 };
143143
144- utterThis.onerror = function (e) {
145- console.error("SpeechSynthesisUtterance.onerror", e);
146- };
147-
148144 const available = speechSynthesis.getVoices();
149145 let voice = null;
150146 voice = available.find(v => v.default) || available[0];
@@ -454,10 +450,6 @@ async function speakFromControls(input) {
454450 console.log("SpeechSynthesisUtterance.onend");
455451 };
456452
457- utterThis.onerror = function (e) {
458- console.error("SpeechSynthesisUtterance.onerror", e);
459- };
460-
461453 const available = speechSynthesis.getVoices();
462454 let voice = null;
463455 voice = available.find(v => v.default) || available[0];
You can’t perform that action at this time.
0 commit comments