Dennis Hernández 9 年之前
父节点
当前提交
d0f629496c
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/bootstrap-table.css
  2. 2 2
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.css

@@ -196,7 +196,7 @@
     line-height: 1.428571429;
 }
 
-.fixed-table-toolbar .bars,
+.fixed-table-toolbar .bars-bs-table,
 .fixed-table-toolbar .search,
 .fixed-table-toolbar .columns {
     position: relative;

+ 2 - 2
src/bootstrap-table.js

@@ -1032,13 +1032,13 @@
             $search,
             switchableCount = 0;
 
-        if (this.$toolbar.find('.bars').children().length) {
+        if (this.$toolbar.find('.bars-bs-table').children().length) {
             $('body').append($(this.options.toolbar));
         }
         this.$toolbar.html('');
 
         if (typeof this.options.toolbar === 'string' || typeof this.options.toolbar === 'object') {
-            $(sprintf('<div class="bars pull-%s"></div>', this.options.toolbarAlign))
+            $(sprintf('<div class="bars-bs-table pull-%s"></div>', this.options.toolbarAlign))
                 .appendTo(this.$toolbar)
                 .append($(this.options.toolbar));
         }