Browse Source

Fix #914: extra empty toolbar div bug.

zhixin 10 years ago
parent
commit
b9e768d2b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/export/bootstrap-table-export.js

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

@@ -30,7 +30,7 @@
         _initToolbar = BootstrapTable.prototype.initToolbar;
 
     BootstrapTable.prototype.initToolbar = function () {
-        this.showToolbar = true;
+        this.showToolbar = this.options.showExport;
 
         _initToolbar.apply(this, Array.prototype.slice.apply(arguments));