Skip to content

Commit

Permalink
Fix w3w does not return addresses (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: Georgi Dobrilov <[email protected]>
  • Loading branch information
gdobrilov and GeorgiDobrilov authored Feb 29, 2024
1 parent ab0752c commit 8017531
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/js/experian-address-validation.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/ts/address-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,7 @@ export default class AddressValidation {

if (item.classList.contains(AddressValidationLookupKeywords.WHAT3WORDS.key)){
const elements = item.getElementsByTagName('div');
this.returnAddresses = true;
this.lookup(elements[0].innerHTML);
return;
}
Expand Down

0 comments on commit 8017531

Please sign in to comment.