From 649f1cdba7cc4c2e331cd330b4f6232edae82944 Mon Sep 17 00:00:00 2001 From: DonRenando Date: Wed, 18 Mar 2015 16:54:00 +0100 Subject: [PATCH] voice2 --- SRC/public/js/memory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SRC/public/js/memory.js b/SRC/public/js/memory.js index da058e0..961c850 100755 --- a/SRC/public/js/memory.js +++ b/SRC/public/js/memory.js @@ -370,7 +370,7 @@ Memory.prototype._winGame = function() { //var texteADire = "Bravo, tu as gagné en "+this.numMoves+" coups ! "; //responsiveVoice.speak(texteADire, "French Female"); var audio = new Audio(); - audio.src ='http://translate.google.com/translate_tts?ie=utf-8&tl=en&q=Hello%20World.'; + audio.src ='http://translate.google.com/translate_tts?ie=utf-8&tl=en&q=Hello%20World'; audio.play(); this.game.appendChild(this.gameMessages); document.getElementById("mg__onend--restart").addEventListener( "click", function(e) {