add top 10 or 20 server.py fetch
This commit is contained in:
parent
f7ef105125
commit
4eae72d1e7
@ -2695,3 +2695,13 @@ function saveSchedulerSettings() {
|
||||
document.getElementById('saved').style.display = "block";
|
||||
}
|
||||
|
||||
|
||||
// CHANGE TOP 20 OR TOP 10 WORLD GOLF RANKING
|
||||
function setTop20() {
|
||||
let top20 = document.getElementById("golf-ranking-number").value;
|
||||
fetch("/setTop20or10", {
|
||||
method: "POST",
|
||||
body: JSON.stringify(top20),
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user