From: Anthony Talarico Date: Fri, 31 May 2019 16:51:06 +0000 (-0400) Subject: removing unused console statements and extra code from the golf quote request form... X-Git-Tag: v1.0.5^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=9589dbd1b71de2dcea27e2f0b45e40a2791f8b63;p=WP-Themes%2Fmeetmtp.git removing unused console statements and extra code from the golf quote request form javascript --- diff --git a/footer.php b/footer.php index d71aca7..693854d 100644 --- a/footer.php +++ b/footer.php @@ -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")