Переглянути джерело

auto update script executed

Toby Chui 1 рік тому
батько
коміт
ee61e82cfa
1 змінених файлів з 1 додано та 1 видалено
  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) {