modifié : SRC/public/js/memory.js
This commit is contained in:
parent
63407ff378
commit
c9044461ac
@ -367,7 +367,7 @@ Memory.prototype._winGame = function() {
|
|||||||
<button id="mg__onend--restart" class="mg__button"><span class="icon-spinner11"></span></button>';
|
<button id="mg__onend--restart" class="mg__button"><span class="icon-spinner11"></span></button>';
|
||||||
|
|
||||||
var audio = new Audio();
|
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';
|
var texte = 'http://translate.google.com/translate_tts?ie=UTF-8&q=bravo%2C%20tu%20as%20gagn%C3%A9%20en%20%22'+this.numMoves+'%22%20coups&tl=fr'
|
||||||
audio.src =texte;
|
audio.src =texte;
|
||||||
audio.play();
|
audio.play();
|
||||||
this.game.appendChild(this.gameMessages);
|
this.game.appendChild(this.gameMessages);
|
||||||
|
Reference in New Issue
Block a user