Skip to content

Commit

Permalink
changed name to eventkey
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 committed Mar 15, 2017
1 parent 0802745 commit 867f75a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/client/components/catalog/Catalog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ const Catalog = React.createClass({
setCatalogUrl(e) {
this.setState({catalogURL: e.target.value});
},
handlePage(mouseEvent) {
if (mouseEvent) {
let start = ((mouseEvent - 1) * this.props.pageSize) + 1;
handlePage(eventKey) {
if (eventKey) {
let start = ((eventKey - 1) * this.props.pageSize) + 1;
this.props.onSearch(this.props.format, this.getCatalogUrl(), start, this.props.pageSize, this.props.searchOptions.text);
this.setState({
loading: true
Expand Down

0 comments on commit 867f75a

Please sign in to comment.