Fix geopip lookup for IPv6 addresses

This commit is contained in:
JonnyWong16
2020-04-28 08:42:00 -07:00
parent fc2faa247a
commit 7ce9283421
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;