Ver Fonte

auto update script executed

Toby Chui há 1 ano atrás
pai
commit
ee61e82cfa
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      web/script/tablesort.js

+ 1 - 1
web/script/tablesort.js

@@ -107,7 +107,7 @@
 		asc: 'sorted ascending',
 		desc: 'sorted descending',
 		compare: function(a, b) {
-			if (a.isInteger() && b.isInteger()){
+			if (Number.isInteger(a) && Number.isInteger(b)){
 				return a-b;
 			}
 			if (a > b) {