From eaac64d7c31e6071a3a915de3cf70f392d8b3240 Mon Sep 17 00:00:00 2001 From: warlee <824691958@qq.com> Date: Mon, 22 Jan 2018 18:39:06 +0800 Subject: [PATCH] fix file sorting problem. fix https://github.com/kalcaddle/KodExplorer/issues/251 --- static/js/lib/util.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/js/lib/util.js b/static/js/lib/util.js index 6369f02..82d9514 100755 --- a/static/js/lib/util.js +++ b/static/js/lib/util.js @@ -252,7 +252,9 @@ var Cookie = (function(){ var cookieArray=document.cookie.split("; "); for (var i=0;ib?1:(a==b?0:-1); } - var re = /([0-9\.]+)/g, // /(-?[0-9\.]+)/g, 负数 2016-11-09 2016-11-10歧义 x = a.toString().toLowerCase() || '', y = b.toString().toLowerCase() || '',