Browse Source

Remove initToolbar method call

djhvscf 6 years ago
parent
commit
8433e63c91
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

+ 2 - 2
src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

@@ -158,7 +158,8 @@ BootstrapTable.prototype.makeRowsReorderable = function () {
             optionsColumns.push(item)
             found = true
             return false
-          } return true
+          }
+          return true
         })
       })
 
@@ -167,7 +168,6 @@ BootstrapTable.prototype.makeRowsReorderable = function () {
       that.header.fields = ths
       that.header.formatters = formatters
       that.initHeader()
-      that.initToolbar()
       that.initBody()
       that.resetView()
       that.trigger('reorder-column', ths)