فهرست منبع

auto update script executed

Toby Chui 1 سال پیش
والد
کامیت
e749a4454f
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      web/script/tablesort.js

+ 1 - 2
web/script/tablesort.js

@@ -108,8 +108,7 @@
 		desc: 'sorted descending',
 		compare: function(a, b) {
 			if (a.isInteger() && b.isInteger()){
-				a = parseInt(a);
-				b = parseInt(b);
+				return a-b;
 			}
 			if (a > b) {
 				return 1;