diff --git a/sorting/ip-address.js b/sorting/ip-address.js index c5d0716..48c1398 100644 --- a/sorting/ip-address.js +++ b/sorting/ip-address.js @@ -18,7 +18,7 @@ jQuery.extend( jQuery.fn.dataTableExt.oSort, { "ip-address-pre": function ( a ) { - if (a == null) { return 0 } + if (!a) { return 0 } var i, item; var m = a.split("."), n = a.split(":"),