Update IP field is empty bug

@Datatables, you are right, it should be better to use !a, then empty string case is covered as well.
And yes, I'm happy for this to be included under MIT licence.
pull/369/head
miodragbogdanovic 7 years ago committed by GitHub
parent b9a6db3ef3
commit 768b29279b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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(":"),

Loading…
Cancel
Save