From b0f17db700ced620bfdaff7c76afb78a9ec0de33 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 28 Dec 2018 16:50:22 +0000 Subject: [PATCH] Revert "workaround for #457 (#465)" This reverts commit 08589ebf9683472d6e919f56d39dac03c894a28f. --- share/public/javascripts/portsort.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/share/public/javascripts/portsort.js b/share/public/javascripts/portsort.js index 1a2d0c71..2de54fc4 100644 --- a/share/public/javascripts/portsort.js +++ b/share/public/javascripts/portsort.js @@ -30,8 +30,6 @@ 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, '') || '';