Skip to content

Commit

Permalink
try to fix firefox android speech button - take 4
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Nov 10, 2024
1 parent e8f4da6 commit 700340b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resen/kaddish/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ play.addEventListener('click', event => {
}
utter.rate = .6
utter.onend = e => {console.log('end fired'); if (!e.charLength) play.click()}
utterThis.onerror = (event) => {
utter.onerror = (event) => {
console.log(
`An error has occurred with the speech synthesis: ${event.error}`,
);
Expand Down

0 comments on commit 700340b

Please sign in to comment.