Implemented protocol-relative URLs (this is tested)

This commit is contained in:
John Du Hart 2011-03-23 16:06:37 -04:00 committed by FrozenCow
parent 2be0cd3671
commit 3c094ec87d
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
var ip;
$.ajax({
type: "GET",
url: "http://jsonip.appspot.com/?callback=?",
url: "//jsonip.appspot.com/?callback=?",
dataType: "jsonp",
success: function(getip) { ip = getip.ip; }
});