i'm not in anyway versed in javascript, but this hack fixes #457 for me.
This commit is contained in:
@@ -30,6 +30,8 @@ function portSort (a, b) {
|
||||
// octal regex
|
||||
ore = /^0/,
|
||||
// convert all to strings and trim()
|
||||
if (typeof a == 'null') { a = ''; }
|
||||
if (typeof b == 'null') { b = ''; }
|
||||
x = a.toString().replace(sre, '') || '',
|
||||
y = b.toString().replace(sre, '') || '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user