Merge branch 'develop'
This commit is contained in:
+1
-1
@@ -12371,7 +12371,7 @@ function _initBrowserTtsVoices(selectedVoice) {
|
||||
sel.innerHTML = '<option value="">— Caricamento voci… —</option>';
|
||||
|
||||
const populate = () => {
|
||||
const voices = window.speechSynthesis.getVoices();
|
||||
const voices = (window.speechSynthesis.getVoices() || []).filter(v => v != null && v.lang);
|
||||
if (!voices.length) return false;
|
||||
// Italian voices first, then others
|
||||
const it = voices.filter(v => v.lang.startsWith('it'));
|
||||
|
||||
Reference in New Issue
Block a user