Skip to content

Commit

Permalink
Update scoutingPASS.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fuddster committed Jan 9, 2023
1 parent 6ac95da commit d353daf
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions resources/js/scoutingPASS.js
Original file line number Diff line number Diff line change
Expand Up @@ -1107,18 +1107,7 @@ function newCycle(event)
tempValue.push(cycleTime);
cycleInput.value = JSON.stringify(tempValue);
let d = document.getElementById("display" + base);
console.log(cycleInput.value);
var str = cycleInput.value
console.log('a '+str);
str = str.replace(/\"/g, '');
console.log('b '+str);
str = str.replace(/\[/g, '');
console.log('c '+str);
str = str.replace(/\]/g, '');
console.log('d '+str);
d.value = cycleInput.value.replace(/\"/g,'').replace(/\[/g, '').replace(/\]/g, '')
console.log(d.value);

d.value = cycleInput.value.replace(/\"/g,'').replace(/\[/g, '').replace(/\]/g, '').replace(/,/g, ', ');
}

function resetTimer(event) {
Expand Down

0 comments on commit d353daf

Please sign in to comment.