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');
|
||||
@ -112,4 +111,4 @@ document.getElementById('form').addEventListener('submit', function(e) {
|
||||
</select>
|
||||
<input type="submit" value="AUSFAHRT BEENDEN"/>
|
||||
</form>
|
||||
{% endmacro home %}
|
||||
{% endmacro home %}
|
||||
|
Loading…
Reference in New Issue
Block a user