浏览代码

Fix #56: Pagination issue in bootstrap 2.3.

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

+ 1 - 1
README.md

@@ -12,7 +12,7 @@ The table displays data in a tabular format and offers rich support to radio, ch
 
 ## Bugs & Enhancements (next version)
 
-- [ ] Fix [#56](https://github.com/wenzhixin/bootstrap-table/issues/56): Pagination issue in bootstrap 2.3.
+- [x] Fix [#56](https://github.com/wenzhixin/bootstrap-table/issues/56): Pagination issue in bootstrap 2.3.
 - [ ] Fix [#76](https://github.com/wenzhixin/bootstrap-table/issues/76): After refreshing table data, search no longer works.
 - [x] Fix [#77](https://github.com/wenzhixin/bootstrap-table/issues/76): After searching and then clearing the search field, table is no longer sortable.
 - [ ] Add `sortable` option, `false` to disable sortable of all columns.

+ 1 - 1
src/bootstrap-table.js

@@ -602,7 +602,7 @@
         html.push('</span>');
 
         html.push('</div>',
-            '<div class="pull-right">',
+            '<div class="pull-right pagination">',
                 '<ul class="pagination">',
                     '<li class="page-first"><a href="javascript:void(0)">&lt;&lt;</a></li>',
                     '<li class="page-pre"><a href="javascript:void(0)">&lt;</a></li>');