mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-26 17:49:09 +00:00
bugfix 15
This commit is contained in:
parent
19015d79e6
commit
3fd42c46c9
@ -309,11 +309,11 @@ function updateForm(locString, teamNum, competition) {
|
||||
}
|
||||
*/
|
||||
function dec(id) {
|
||||
document.getElementById(id).textContent = (parseInt(document.getElementById(id).textContent) - 1).toString()
|
||||
document.getElementById(id).innerHTML = "<input type='button' onclick=\"dec('" + id + "')\" value='-'></input>"+(parseInt(document.getElementById(id).textContent) - 1).toString()+"<input type='button' onclick=\"inc('" + id + "')\" value='+'></input>"
|
||||
}
|
||||
|
||||
function inc(id) {
|
||||
document.getElementById(id).textContent = (parseInt(document.getElementById(id).textContent) + 1).toString()
|
||||
document.getElementById(id).innerHTML = "<input type='button' onclick=\"dec('" + id + "')\" value='-'></input>"+(parseInt(document.getElementById(id).textContent) + 1).toString()+"<input type='button' onclick=\"inc('" + id + "')\" value='+'></input>"
|
||||
}
|
||||
|
||||
function subReport() {
|
||||
|
Loading…
Reference in New Issue
Block a user