Update and rename IPInfo.js to IPInf.js

This commit is contained in:
Shawn
2019-07-17 09:49:19 +08:00
committed by GitHub
parent 17f5cf5d78
commit bca8db2d8b

View File

@@ -22,7 +22,7 @@ var body = $response.body;
var bd=body.split('\n')[1];
var obj = JSON.parse(bd);
//$notify("TEST","test",bd);
var title =obj.latitude;
var title =obj["latitude"];
//flags.get(obj['country_code']) + ' '+ obj['country_name'];
var subtitle =''+ValidCheck(obj['city'])+'-'+'('+ValidCheck(obj['continent_name'])+')'+'';
var ip = obj['ip'];