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