mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-27 01:59:08 +00:00
dont be stupid
This commit is contained in:
parent
4671eacb6e
commit
e992483f35
@ -36,8 +36,8 @@
|
||||
Match: <select id="mselect" onchange="cmatch(document.getElementById('mselect').value)"></select>
|
||||
Team: <select id="tselect"></Select>
|
||||
Series: <select id="sselect" onchange="cseries(document.getElementById('sselect').value)">
|
||||
<option value="Quantitative">Quantitative</option>
|
||||
<option value="Qualitative">Qualitative</option>
|
||||
<option value="quantitative">Quantitative</option>
|
||||
<option value="qualitative">Qualitative</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id=FormData>
|
||||
|
@ -313,6 +313,9 @@ function dec(id) {
|
||||
function inc(id) {
|
||||
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 capitalizeFirstLetter(string) {
|
||||
return string.charAt(0).toUpperCase() + string.slice(1);
|
||||
}
|
||||
|
||||
function subReport() {
|
||||
var user = firebase.auth().currentUser;
|
||||
@ -331,7 +334,7 @@ function subReport() {
|
||||
var submitTo = document.getElementById('tns').value;
|
||||
var teamNum = document.getElementById('tselect').value;
|
||||
var matchNum = document.getElementById('mselect').value;
|
||||
var series = document.getElementById('sselect').value;
|
||||
var series = capitalizeFirstLetter(document.getElementById('sselect').value);
|
||||
var push = {}
|
||||
push[series+'-'+user.uid]={}
|
||||
var x = document.getElementById('repsec1').children;
|
||||
|
Loading…
Reference in New Issue
Block a user