audio5
This commit is contained in:
parent
c93ee3ee1e
commit
8531e56879
@ -353,7 +353,7 @@
|
|||||||
document.getElementById("mg__onend--restart").addEventListener( "click", function(e) {
|
document.getElementById("mg__onend--restart").addEventListener( "click", function(e) {
|
||||||
document.location.href="/memo";
|
document.location.href="/memo";
|
||||||
});
|
});
|
||||||
var temps = Math.ceil(((new Date()) - dateDebut)/60000);
|
var temps = Math.ceil(((new Date()) - this.dateDebut)/60000);
|
||||||
var texteADire = (temps <= 1) ? "Bravo, tu as mis moins d'une minute." :
|
var texteADire = (temps <= 1) ? "Bravo, tu as mis moins d'une minute." :
|
||||||
"Bravo, tu as mis "+temps+" minutes. ";;
|
"Bravo, tu as mis "+temps+" minutes. ";;
|
||||||
responsiveVoice.speak(texteADire, "French Female");
|
responsiveVoice.speak(texteADire, "French Female");
|
||||||
|
Reference in New Issue
Block a user