From 4da7a8aa5ced49c2378fd7886d11f37cae2c1347 Mon Sep 17 00:00:00 2001 From: gnieark Date: Wed, 29 Jun 2016 23:42:28 +0200 Subject: [PATCH] js --- src/arenas/tron/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index 984bc12..69e3c43 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -15,7 +15,7 @@ function changeSelect(number,botId){ //show an other selector if bot is chosen var next = parseInt(number) + 1; if((botId > 0) && (botId < 12)){ - if(document.getElementById('selectBot' + next){ + if(document.getElementById('selectBot' + next)){ return; }else{ show_bot_panel(next);