fix js
This commit is contained in:
parent
367eaf6168
commit
64c6d44de0
|
@ -30,7 +30,7 @@ function show_bot_panel(number){
|
||||||
fieldset.appendChild(legend);
|
fieldset.appendChild(legend);
|
||||||
var p=createElem('p');
|
var p=createElem('p');
|
||||||
var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(' + number + ',this.value);'});
|
var select = createElem('select',{'id':'selectBot' + number, 'onchange':'changeSelect(' + number + ',this.value);'});
|
||||||
var option = createElem('option',{'value': '0', 'selected': 'selected'});
|
var option = createElem('option',{'value': '0', 'selected': 'selected','disabled':'disabled'});
|
||||||
option.innerHTML = '';
|
option.innerHTML = '';
|
||||||
select.appendChild(option);
|
select.appendChild(option);
|
||||||
for (var i = 0; i < botsAvailable.length; i++){
|
for (var i = 0; i < botsAvailable.length; i++){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user