Browse Source

removed duplicated code

Dustin Utecht 6 years ago
parent
commit
c0d574130e
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/bootstrap-table.js

+ 0 - 4
src/bootstrap-table.js

@@ -1569,10 +1569,6 @@
           to = o.paginationSuccessivelySize
         }
 
-        if (to > this.totalPages) {
-          to = this.totalPages
-        }
-
         if (o.paginationSuccessivelySize > this.totalPages - from) {
           from = from - (o.paginationSuccessivelySize - (this.totalPages - from)) + 1
         }