Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Commit ca47a10

Browse files
committed
Some final changes
1 parent c832240 commit ca47a10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/get_ip_data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$(document).ready(function(){
22

33
// Get IP data
4-
$.getJSON("http://ip-api.com/json/?callback=?", function(data){
4+
$.getJSON("http://ip-api.com/json/?", function(data){
55
$("#country").text(data.country);
66
$("#country-code").text(data.countryCode);
77
$("#region").text(data.regionName);
@@ -12,5 +12,5 @@ $(document).ready(function(){
1212
$("#lon").text(data.lon);
1313
$("#query").text(data.query);
1414
});
15-
15+
1616
});

0 commit comments

Comments
 (0)