fix
This commit is contained in:
@@ -2320,7 +2320,7 @@
|
|||||||
if (old[key] != data.Estado) {
|
if (old[key] != data.Estado) {
|
||||||
console.log("SC:Updated:", data)
|
console.log("SC:Updated:", data)
|
||||||
if (tts && document.getElementById(tts_check).checked) {
|
if (tts && document.getElementById(tts_check).checked) {
|
||||||
var msg = `Comanda de ${SC_Personas[data.Persona].Region}. ${SC_Personas[data.Persona].Nombre}. ${data.Estado}`
|
var msg = `Comanda de ${SC_Personas[data.Persona].Region}. - ${SC_Personas[data.Persona].Nombre}. - ${data.Estado}`
|
||||||
console.log("TTS: " + msg)
|
console.log("TTS: " + msg)
|
||||||
let utterance = new SpeechSynthesisUtterance(msg);
|
let utterance = new SpeechSynthesisUtterance(msg);
|
||||||
utterance.rate = 0.9
|
utterance.rate = 0.9
|
||||||
|
|||||||
Reference in New Issue
Block a user