|
@@ -43,7 +43,7 @@ function* myGenerator(){
|
|
|
select.onchange = function(){
|
|
|
run(onchange1);
|
|
|
}
|
|
|
- function* onchange1(e){
|
|
|
+ function* onchange1(){
|
|
|
try{
|
|
|
var mainSelect = document.getElementById("main")
|
|
|
var select = document.createElement("select");
|
|
@@ -75,7 +75,7 @@ function* myGenerator(){
|
|
|
}
|
|
|
}
|
|
|
selects.appendChild(select);
|
|
|
- select.id = "main"
|
|
|
+ select.id = "main";
|
|
|
}catch(error){
|
|
|
throw error;
|
|
|
}
|