From a7c5401f2191cfeba9d96a3038ce3eb7adbde993 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Fri, 15 Jul 2011 08:50:11 +0200 Subject: [PATCH] order (and discipline) --- js/star.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/star.js b/js/star.js index 6057b0f..a486d19 100644 --- a/js/star.js +++ b/js/star.js @@ -272,10 +272,10 @@ function initialize_a_star( dom_container, level_index ) { } } else if ( e.type === "keydown" ) { switch( e.keyCode ) { - case 38: // UP - case 40: // DOWN case 37: // LEFT + case 38: // UP case 39: // RIGHT + case 40: // DOWN state = make_a_move( e.keyCode ); break; case 32: // SPACE