Fix geopip lookup for IPv6 addresses

This commit is contained in:
JonnyWong16 2020-04-28 08:42:00 -07:00
commit 7ce9283421
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
3 changed files with 2 additions and 4 deletions

View file

@ -79,7 +79,7 @@
$('#ip_error').html('<i class="fa fa-exclamation-circle"></i> Internal request failed.').show();
},
success: function (result) {
if (result.results === 'error') {
if (result.result === 'error') {
$('#ip_error').html('<i class="fa fa-exclamation-circle"></i> ' + result.message).show();
} else {
var data = result.data;