mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-06 23:16:21 +00:00
Fixed selection of default voice in JS demo
This commit is contained in:
@@ -240,7 +240,7 @@ function initializeDemo() {
|
||||
opt.value = voice.identifier;
|
||||
console.log('Adding voice: ' + opt.text);
|
||||
sel.add(opt);
|
||||
if (voice.name === 'english') {
|
||||
if (voice.name === 'English (Great Britain)') {
|
||||
opt.id = 'default-voice';
|
||||
opt.selected = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user