ソースを参照

Double validation

Dennis Hernández 10 年 前
コミット
4753f6230d
1 ファイル変更0 行追加4 行削除
  1. 0 4
      src/bootstrap-table.js

+ 0 - 4
src/bootstrap-table.js

@@ -661,10 +661,6 @@
                     return order * value;
                     return order * value;
                 }
                 }
 
 
-                if (value !== undefined) {
-                    return order * value;
-                }
-
                 // Fix #161: undefined or null string sort bug.
                 // Fix #161: undefined or null string sort bug.
                 if (aa === undefined || aa === null) {
                 if (aa === undefined || aa === null) {
                     aa = '';
                     aa = '';