summaryrefslogtreecommitdiff
path: root/ip-detection/js/main.js
diff options
context:
space:
mode:
authors1n <[email protected]>2019-11-04 17:03:26 -0800
committers1n <[email protected]>2019-11-04 17:03:26 -0800
commit8b472c1ffbdd8f3064dace4da15f278adb555d48 (patch)
tree5ffcd844785a8b0f243cc386f439ad24145d7bfa /ip-detection/js/main.js
parentrem (diff)
parentcopypaste fix (diff)
downloads1n.pw-admin-8b472c1ffbdd8f3064dace4da15f278adb555d48.tar.xz
s1n.pw-admin-8b472c1ffbdd8f3064dace4da15f278adb555d48.zip
Merge branch 'master' of https://github.com/8cy/s1n.pw-admin
Diffstat (limited to 'ip-detection/js/main.js')
-rw-r--r--ip-detection/js/main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ip-detection/js/main.js b/ip-detection/js/main.js
index 28a66dc..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("IP: " + response.ip);
- $("#address").html("Location: " + response.city + ", " + response.region);
+ $("#ip").html(response.ip);
+ $("#address").html(response.city + ", " + response.region);
$("#details").html(JSON.stringify(response, null, 4));
-}, "jsonp"); \ No newline at end of file
+}, "jsonp");