forked from Ruderverein-Donau-Linz/rowt
		
	remove debug
This commit is contained in:
		@@ -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 %}    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user