This commit is contained in:
Yannik Schmidt
2021-07-26 23:25:06 +02:00
parent 5c8191f4cf
commit ee61d1bb63
6 changed files with 103 additions and 38 deletions

View File

@@ -11,7 +11,7 @@ var checkPlayerFunc = function checkPlayer() {
if(r.status == 200){
this.style.background = "#74bb74"
}else{
//this.style.background = "#d25252"
this.style.background = "#d25252"
}
})
}
@@ -151,6 +151,8 @@ function balance(){
prioBalanceCheckbox = document.getElementById("prio-balance")
if(prioBalanceCheckbox.checked){
dictAll["acceptable-solution-threshold"] = 0.5
}else{
dictAll["acceptable-solution-threshold"] = 0.7
}
jsonData = JSON.stringify(dictAll, null, 4);