소스 검색

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;