Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail nicely on browsers with no tts support #529

Closed
wants to merge 1 commit into from

Conversation

Williangalvani
Copy link
Member

@Williangalvani Williangalvani commented Oct 24, 2023

No description provided.

@Williangalvani Williangalvani force-pushed the fixtts branch 2 times, most recently from f01802f to 3898ca3 Compare October 24, 2023 04:40
const utterance_cache: SpeechSynthesisUtterance[] = []
if (synth.value !== undefined) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just return if undefined ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, that's better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants