This commit is contained in:
gnieark 2016-06-29 23:45:16 +02:00
parent 4b77561d4c
commit 367eaf6168

View File

@ -14,7 +14,7 @@ function createElemNS(type,attributes){
function changeSelect(number,botId){ 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) && (number < 12)){
if(document.getElementById('selectBot' + next)){ if(document.getElementById('selectBot' + next)){
return; return;
}else{ }else{