mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-10 00:48:32 +01:00
update
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user