Browse Source

auto update script executed

Toby Chui 1 year ago
parent
commit
e749a4454f
1 changed files with 1 additions and 2 deletions
  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;