Skip to content

Commit 0c029d1

Browse files
committed
Function name updated
1 parent bd19e5a commit 0c029d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Here is a sample code to use IP Geolocation API using JQuery SDK:
109109
var country_code2 = sessionStorage.getItem("country_code2");
110110

111111
if (!ip || !country_name || !country_code2) {
112-
setAsyncParameter(false);
112+
setAsync(false);
113113
setFieldsParameter("country_name,country_code2");
114114
getGeolocation(handleGeolocationResponse, "YOUR_API_KEY");
115115
}

ipgeolocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ var tzParameter = "";
77
var latitudeParameter = "";
88
var longitudeParameter = "";
99

10-
function setAsyncParameter(async = true) {
10+
function setAsync(async = true) {
1111
asyncParameter = async;
1212
}
1313

0 commit comments

Comments
 (0)