Cleanup, formatting, comments, added onclick functions
This commit is contained in:
parent
093c8c6e24
commit
a4d905d728
4 changed files with 38 additions and 42 deletions
11
scoreboard/public/javascripts/admin.js
Normal file
11
scoreboard/public/javascripts/admin.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
function timerStart()
|
||||
{
|
||||
fetch("/admin/timerStart", {
|
||||
method: "POST",
|
||||
headers: {'Content-Type': 'text/html'},
|
||||
body: ""
|
||||
}).then(res => {
|
||||
console.log(res);
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue