fix: Read Aloud uses Kokoro.js when it is picked under Settings > Audio (#33211)

This commit is contained in:
G30 authored and GitHub committed 2026-10-26 17:27:09 +09:00
1 parent a8667b2a08
commit 1a425bd641
1 file changed
+1 -1
@@ -270,7 +270,7 @@
speaking = true;
if ($config.audio.tts.engine === '') {
if ($config.audio.tts.engine === '' && $settings.audio?.tts?.engine !== 'browser-kokoro') {
let voices = [];
const getVoicesLoop = setInterval(() => {
voices = speechSynthesis.getVoices();