From 12477ca649483536950b9183ff7e7ead8dbf5534 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Wed, 8 Feb 2023 08:39:57 -0500 Subject: [PATCH] Removed comments on address-questions --- .../address-questions/address-questions.vue | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/src/layouts/address-lookup/customer-questions/address-questions/address-questions.vue b/src/layouts/address-lookup/customer-questions/address-questions/address-questions.vue index 7afae044e..a3e49369c 100644 --- a/src/layouts/address-lookup/customer-questions/address-questions/address-questions.vue +++ b/src/layouts/address-lookup/customer-questions/address-questions/address-questions.vue @@ -277,26 +277,6 @@ export default { } }); - // addressField1.addEventListener("change", () => { - // // If a match has been previously attempted then do nothing - // if (self.matchFound !== null) { - // return; - // } - - // // Get the address that the user clicked on (if any) - // const clickedAddress = document.querySelector( - // ".pac-container .pac-item:hover" - // ); - - // // If the Street Address field changed without clicking (i.e. by pressing Tab, or clicking outside the field) - // if (clickedAddress === null) { - // // Fill-in the address using first item in the list. - // fillInAddressUsingFirstItem(); - // } - - // console.log("change"); - // }); - function fillInAddressUsingFirstItem() { // Fill-in the address using first item in the list. const item = document.querySelector(".pac-container .pac-item"); @@ -320,7 +300,6 @@ export default { } function fillInAddress(place) { - console.log("fillInAddress"); if (!place) { place = autocomplete.getPlace(); } @@ -329,10 +308,6 @@ export default { self.matchFound = true; self.$nextTick(function () { - //self.addressModel.streetAddress = ""; - - //self.$nextTick(); - self.showAddressFields = true; for (const component of place.address_components) {