Correction de bug mineur

This commit is contained in:
Bertrand BRUN 2011-04-28 09:11:59 +02:00
parent 576b5a2d9d
commit ee2f6f5c09

View File

@ -197,8 +197,9 @@ ui.game = function () {
if (currentWordNb < state.game.cloud.length) {
animateNext(click, button);
} else {
state.set('screen','score').commit();
state.set('screen','score');
}
state.commit();
}
function animateNext(click, button) {
@ -270,6 +271,7 @@ enter.score = function () {
}
ui.score = function () {
$("#score .scores").empty();
$.each(state.game.cloud, function(i,e) {
var percentScore = (e.score - state.game.minScore) / (state.game.maxScore - state.game.minScore);
u = $("#templates .scoreLine");