Skip to content

Commit 995c9d9

Browse files
1006970: Resolved the error issues
1 parent 87cbd1c commit 995c9d9

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Document-Processing/PDF/PDF-Viewer/blazor/accessible-pdf-reading.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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];

0 commit comments

Comments
 (0)