浏览代码

Fix destroy bug.

zhixin 11 年之前
父节点
当前提交
270cd94e59
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

@@ -1541,6 +1541,7 @@
         this.$container.next().remove();
         this.$container.remove();
         this.$el.html(this.$el_.html())
+            .css('margin-top', '0')
             .attr('class', this.$el_.attr('class') || ''); // reset the class
     };