Skip to content

Commit 6bd324b

Browse files
1006970: Resolved the error log
1 parent 293cce5 commit 6bd324b

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

Accessible/EdgeScreenReader/wwwroot/accessibility.js

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

Accessible/WebSynthesis/wwwroot/accessibility.js

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

0 commit comments

Comments
 (0)