diff --git a/html/src/app.js b/html/src/app.js index 983c3f68..4dfa102d 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -9653,8 +9653,6 @@ speechSynthesis.getVoices(); } } var VRConfigVars = { - notificationTTS: this.notificationTTS, - notificationTTSVoice: this.notificationTTSVoice, overlayNotifications: this.overlayNotifications, hideDevicesFromFeed: this.hideDevicesFromFeed, minimalFeed: this.minimalFeed, @@ -9673,6 +9671,7 @@ speechSynthesis.getVoices(); }; $app.methods.updateVRLastLocation = function () { + this.updateVRConfigVars(); var lastLocation = { date: this.lastLocation.date, location: this.lastLocation.location, @@ -9766,7 +9765,6 @@ speechSynthesis.getVoices(); var voiceName = voices[index < voices.length ? index : 0].name; speechSynthesis.cancel(); this.speak(voiceName); - this.updateVRConfigVars(); }; $app.methods.speak = function (text) {