From b4bb35972e67fa34feda05b100f1a602e04230ad Mon Sep 17 00:00:00 2001 From: Maxwell Date: Mon, 16 Mar 2020 17:27:28 -0300 Subject: [PATCH] FIX Country restriction remove default country restriction, allowing anyone to use the plugin --- assets/js/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/input.js b/assets/js/input.js index fe6b470..f485bb1 100755 --- a/assets/js/input.js +++ b/assets/js/input.js @@ -5,7 +5,7 @@ document.autocompleteField = function() { const inputHandling = function(searchInput) { // options const options = { - componentRestrictions: { country: 'gb' } + componentRestrictions: {} }; // Google Maps Autocomplete Method const autocomplete = new google.maps.places.Autocomplete(searchInput, options);