Skip to content

Commit

Permalink
Merge pull request #2503 from Kingdutch/patch-1
Browse files Browse the repository at this point in the history
Fix selectable=false still selects rows
  • Loading branch information
alitaheri committed Dec 13, 2015
2 parents 29e5791 + 05ec619 commit 65c2b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/table-row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const TableRow = React.createClass({
},

_onRowClick(e) {
if (this.props.onRowClick) this.props.onRowClick(e, this.props.rowNumber);
if (this.props.selectable && this.props.onRowClick) this.props.onRowClick(e, this.props.rowNumber);
},

_onRowHover(e) {
Expand Down

0 comments on commit 65c2b24

Please sign in to comment.