removing unused console statements and extra code from the golf quote request form...
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 31 May 2019 16:51:06 +0000 (12:51 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 31 May 2019 16:51:06 +0000 (12:51 -0400)
footer.php

index d71aca7..693854d 100644 (file)
@@ -184,14 +184,12 @@ if ( ! defined( 'ABSPATH' ) ) {
 
                             $('#cell0').val((staticGolfDate.getMonth() + 1) + "/" + staticGolfDate.getDate() + "/" + staticGolfDate.getFullYear());
                             $('#table2 #cell0').val((j.getMonth() + 1) + "/" + j.getDate() + "/" + j.getFullYear());
-                            var start = 0;
                             var date = new Date(date1);
                             for (i = 1; i < $("#field_8_57 .gfield_list tbody tr").length + 1; i++) {
                                 var cellDate = staticGolfDate.setDate(staticGolfDate.getDate() + 1);
                                 var cellValue = ((staticGolfDate.getMonth() + 1) + "/" + (staticGolfDate.getDate()) + "/" + staticGolfDate.getFullYear());
                                 $('#cell' + i).val(cellValue);
                                 $('#table2 #cell' + i).val(cellValue);
-                                start++;
                             }
                         }else{
                             alert("Departure date must be after arrival date")