From c2f51541377a3bdfa40ac337ae96883bed458fe6 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Wed, 13 Jul 2011 16:31:47 +0200 Subject: [PATCH] emphasis on level's state --- star.js/js/star.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/star.js/js/star.js b/star.js/js/star.js index 25644c1..31d8908 100644 --- a/star.js/js/star.js +++ b/star.js/js/star.js @@ -131,9 +131,9 @@ function format_level( state, text ) { function format_infos( state ) { var infos = "

Star5


"; - infos += "Level " + (state.level+1) + " of " + levels.length + "
"; - infos += count_gifts( state ) + " gifts left
"; - infos += state.distance_travelled + " meters travelled"; + infos += "Level " + (state.level+1) + " of " + levels.length + "
"; + infos += "" + count_gifts( state ) + " gifts left
"; + infos += "" + state.distance_travelled + " meters travelled"; return infos; } function format_help( ) {