This commit is contained in:
gnieark 2016-06-29 23:42:28 +02:00
parent f125df39ee
commit 4da7a8aa5c

View File

@ -15,7 +15,7 @@ function changeSelect(number,botId){
//show an other selector if bot is chosen //show an other selector if bot is chosen
var next = parseInt(number) + 1; var next = parseInt(number) + 1;
if((botId > 0) && (botId < 12)){ if((botId > 0) && (botId < 12)){
if(document.getElementById('selectBot' + next){ if(document.getElementById('selectBot' + next)){
return; return;
}else{ }else{
show_bot_panel(next); show_bot_panel(next);