We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dae734 commit c64679fCopy full SHA for c64679f
src/Pagination.js
@@ -112,7 +112,7 @@ const Pagination = React.createClass({
112
<PaginationButton
113
key='next'
114
eventKey={this.props.activePage + 1}
115
- disabled={this.props.activePage === this.props.items}
+ disabled={this.props.activePage >= this.props.items}
116
onSelect={this.props.onSelect}>
117
<span aria-label='Next'>›</span>
118
</PaginationButton>
@@ -144,7 +144,7 @@ const Pagination = React.createClass({
144
145
key='last'
146
eventKey={this.props.items}
147
148
149
<span aria-label='Last'>»</span>
150
0 commit comments