From 3a0e2a0d812f77cec5c18a532b795b0f43be1849 Mon Sep 17 00:00:00 2001 From: Justin Sabelko Date: Mon, 26 Feb 2024 17:14:44 -0500 Subject: [PATCH] remove debug output --- public/campaign-form.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/public/campaign-form.js b/public/campaign-form.js index 7e3e219..728015a 100644 --- a/public/campaign-form.js +++ b/public/campaign-form.js @@ -10,18 +10,15 @@ script3.onload = function () { var campaignForms = window.campaignForms = window.campaignForms || {} var campaignForm = window.campaignForm = window.campaignForm || {} var idCounter = 0 - console.log('line 11') campaignForms.jQuery = $.noConflict(true) function uniqueFormId () { - console.log('uniqueFormId') var id = ++idCounter return 'campaignForm' + id } function submitForm (form, recaptchaToken) { - console.log('submitForm') var formId = form.attr('id') if (!campaignForms[formId].formSubmitted) { @@ -86,7 +83,6 @@ script3.onload = function () { } function validate (form) { - console.log('validate') return form.validate({ errorElement: 'span', errorClass: 'help-block', @@ -144,7 +140,6 @@ script3.onload = function () { // Register all existing forms (not previously registered) window.campaignForms.registerForms = function () { - console.log('registerForms') $('.campaign-form form:not([id])').each(function () { var form = $(this) @@ -171,12 +166,10 @@ script3.onload = function () { // Bootstrap campaign-forms window.campaignForms.jQuery(function () { - console.log('bootstrap') window.campaignForms.registerForms() }) $(document).ready(function() { - console.log('ready') $("[id^='cf_Country_']").change(function(){ if ($(this).val()!='US'){ $("[for^='cf_US_State_']").hide()