bugfix 15

This commit is contained in:
Jacob Levine 2019-03-22 00:08:00 -05:00
parent 19015d79e6
commit 3fd42c46c9

View File

@ -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() {