Skip to content

Commit 979d746

Browse files
authored
Merge pull request #6 from addynz/AddressNearMeIssue
fix
2 parents f4b56f1 + ebd8fe6 commit 979d746

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

css/addy.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* addy.css version 1.6.1. */
1+
/* addy.css version 1.6.3. */
22
ul.nc_list {
33
list-style: none;
44
padding: 0;

css/addy.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/addy.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
2-
* Addy autocomplete v1.6.2
2+
* Addy autocomplete v1.6.3
33
*
44
* Neat Complete v1.5.10 (c) 2019 AddressFinder https://addressfinder.nz https://addressfinder.com.au https://github.com/AbleTech/neat-complete/blob/develop/LICENSE.md
55
*
66
*/
7-
const jsVersion = '1.6.2';
7+
const jsVersion = '1.6.3';
88
function AddyUrlSettingFactory(e) {
99
function t(e) {
1010
e = (typeof e === 'string') ? e.replace(/[\[\]]/g, "\\$&") : '';
@@ -48,7 +48,7 @@ function AddyUrlSettingFactory(e) {
4848
(e.tag = t("tag") || ""),
4949
(e.uniqueId = t("uniqueid") || ""),
5050
(e.maxItems = t("maxItems") || 10),
51-
(e.enableLocation = !!t("enableLocation") && navigator.geolocation),
51+
(e.enableLocation = String(t("enableLocation")).toLowerCase() === "true" && navigator.geolocation),
5252
e
5353
);
5454
}),

js/addy.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)