pull/96/head
gnieark 8 years ago
parent 4b77561d4c
commit 367eaf6168

@ -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{

Loading…
Cancel
Save