Merge branch 'main' into dev

This commit is contained in:
SillyLossy
2023-05-19 23:12:52 +03:00
3 changed files with 17 additions and 10 deletions

View File

@@ -4538,7 +4538,7 @@ function isHordeGenerationNotAllowed() {
}
export function cancelTtsPlay() {
if (speechSynthesis) {
if ('speechSynthesis' in window) {
speechSynthesis.cancel();
}
}