Skip to content

Commit

Permalink
fix #255
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Mar 10, 2016
1 parent 0f30823 commit 79af10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagination/PageButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PageButton extends React.Component{

pageBtnClick(e){
e.preventDefault();
this.props.changePage(e.currentTarget.text);
this.props.changePage(e.currentTarget.textContent);
}

render(){
Expand Down

0 comments on commit 79af10e

Please sign in to comment.