From 2f261f1e1078b7fd92213f7afeedd325460d2469 Mon Sep 17 00:00:00 2001 From: s1n Date: Mon, 4 Nov 2019 13:33:00 -0800 Subject: Update main.js --- ip-detection/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ip-detection/js') diff --git a/ip-detection/js/main.js b/ip-detection/js/main.js index 28a66dc..3589d70 100644 --- a/ip-detection/js/main.js +++ b/ip-detection/js/main.js @@ -1,5 +1,5 @@ $.get("https://ipinfo.io/json", function (response) { - $("#ip").html("IP: " + response.ip); + $("#ip").html(response.ip); $("#address").html("Location: " + response.city + ", " + response.region); $("#details").html(JSON.stringify(response, null, 4)); -}, "jsonp"); \ No newline at end of file +}, "jsonp"); -- cgit v1.2.3 From a4011c2aa538ac7144d4ec1bd01107abf4188e41 Mon Sep 17 00:00:00 2001 From: s1n Date: Mon, 4 Nov 2019 13:38:58 -0800 Subject: copypaste fix --- ip-detection/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip-detection/js') diff --git a/ip-detection/js/main.js b/ip-detection/js/main.js index 3589d70..ce117d8 100644 --- a/ip-detection/js/main.js +++ b/ip-detection/js/main.js @@ -1,5 +1,5 @@ $.get("https://ipinfo.io/json", function (response) { $("#ip").html(response.ip); - $("#address").html("Location: " + response.city + ", " + response.region); + $("#address").html(response.city + ", " + response.region); $("#details").html(JSON.stringify(response, null, 4)); }, "jsonp"); -- cgit v1.2.3