forked from Ruderverein-Donau-Linz/rowt
remove debug
This commit is contained in:
parent
48eb1b7dc2
commit
00aaa2dd86
@ -9,7 +9,6 @@
|
|||||||
document.getElementById('form').addEventListener('submit', function(e) {
|
document.getElementById('form').addEventListener('submit', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
for(let optional_elem of ["datetime-arr", "distance_in_km", "comments", "logtype"]){
|
for(let optional_elem of ["datetime-arr", "distance_in_km", "comments", "logtype"]){
|
||||||
console.log(optional_elem);
|
|
||||||
let myInput = document.getElementById(optional_elem);
|
let myInput = document.getElementById(optional_elem);
|
||||||
if (myInput.value === '') {
|
if (myInput.value === '') {
|
||||||
myInput.removeAttribute('name');
|
myInput.removeAttribute('name');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user