Remove debug logs. #546

This commit is contained in:
Korina Cordero 2021-03-19 09:47:05 +00:00
parent a7070be776
commit ac30ba766d

View file

@ -1359,19 +1359,15 @@ $(function() {
$("#flag-dpa-consent").prop("checked", true);
}
if (vdata.customer.flag_promo_sms === true) {
console.log('promo_sms is true');
$("#flag-promo-sms").prop("checked", true);
}
if (vdata.customer.flag_promo_email === true) {
console.log('promo_email is true');
$("#flag-promo-email").prop("checked", true);
}
if (vdata.customer.flag_research_sms === true) {
console.log('research_sms is true');
$("#flag-research-sms").prop("checked", true);
}
if (vdata.customer.flag_research_email === true) {
console.log('research_email is true');
$("#flag-research-email").prop("checked", true);
}
@ -1415,8 +1411,6 @@ $(function() {
function resetVehicleFields() {
$("[data-vehicle-field='1']").val("").css('color', '').prop('placeholder', 'Select a vehicle first');
console.log('resetting fields');
$("#flag-dpa-consent").prop("checked", false);
$("#flag-promo-sms").prop("checked", false);
$("#flag-promo-email").prop("checked", false);