Fixed selection of default voice in JS demo

This commit is contained in:
Alberto Pettarin
2017-05-01 20:38:06 +02:00
parent d093513b65
commit 6ce74efeca
+1 -1
View File
@@ -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;
}