Browse Source

Fix typo on important method

of Reorder extension
Dennis Hernández 10 years ago
parent
commit
2c2b257a66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/reorder/bootstrap-table-reorder.js

+ 1 - 1
src/extensions/reorder/bootstrap-table-reorder.js

@@ -104,7 +104,7 @@
                     columnIndex = getFieldIndex(that.options.columns, ths[i]);
                     if (columnIndex !== -1) {
                         columns.push(that.options.columns[columnIndex]);
-                        that.options.columns.slice(columnIndex, 1);
+                        that.options.columns.splice(columnIndex, 1);
                     }
                 }