diff --git a/SRC/public/js/memory.js b/SRC/public/js/memory.js index 3c9463a..361e8fb 100755 --- a/SRC/public/js/memory.js +++ b/SRC/public/js/memory.js @@ -367,11 +367,8 @@ Memory.prototype._winGame = function() {
\ '; - //var texteADire = "Bravo, tu as gagné en "+this.numMoves+" coups ! "; - //responsiveVoice.speak(texteADire, "French Female"); - var audio = new Audio(); - - var texte = "https://translate.google.com/translate_tts?ie=UTF-8&q=bravo%20tu%20as%20gagn%C3%A9%20en%20"+this.numMoves+"%20coups&tl=fr"; + var audio = new Audio(); + var texte = "http://translate.google.com/translate_tts?ie=UTF-8&q=bravo%20tu%20as%20gagn%C3%A9%20en%20"+this.numMoves+"%20coups&tl=fr"; audio.src =texte; audio.play(); this.game.appendChild(this.gameMessages); diff --git a/SRC/resources/views/frontend/memo.blade.php b/SRC/resources/views/frontend/memo.blade.php index 8c761e3..5021d8e 100755 --- a/SRC/resources/views/frontend/memo.blade.php +++ b/SRC/resources/views/frontend/memo.blade.php @@ -17,7 +17,6 @@ @section('page-scripts') -