First Local Commit - After Clean up.
Signed-off-by: Rick Hays <rhays@haysgang.com>
This commit is contained in:
14
public/assets/js/OLD/ip.js
Normal file
14
public/assets/js/OLD/ip.js
Normal file
@@ -0,0 +1,14 @@
|
||||
let oIP = null;
|
||||
|
||||
$(document).ready(function ()
|
||||
{
|
||||
$.getJSON("https://ip-api.io/api/json", function(data)
|
||||
{
|
||||
getIPData(data);
|
||||
}, 'json');
|
||||
});
|
||||
|
||||
function getIPData(data)
|
||||
{
|
||||
oIP = data;
|
||||
}
|
||||
Reference in New Issue
Block a user