-
-
Save parzibyte/0dad8057246fcec93d7c99d6255e0e0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// No preguntes por qué pongo esto que se ejecuta dos veces | |
// en determinados casos, solo así funciona en algunos casos | |
cargarVoces(); | |
// Si hay evento, entonces lo esperamos | |
if ('onvoiceschanged' in speechSynthesis) { | |
speechSynthesis.onvoiceschanged = function () { | |
cargarVoces(); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment