We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ff999e commit 1cb7dbdCopy full SHA for 1cb7dbd
src/TableRow.js
@@ -4,10 +4,10 @@ import Const from './Const';
4
class TableRow extends React.Component{
5
6
rowClick(e){
7
- if(e.target.tagName !== "INPUT")
8
- if (this.props.selectRow &&
9
- this.props.selectRow.clickToSelect) this.props.onSelectRow(e.currentTarget.rowIndex, !this.props.isSelected);
+ if(e.target.tagName !== "INPUT") {
+ if (this.props.selectRow && this.props.selectRow.clickToSelect) this.props.onSelectRow(e.currentTarget.rowIndex, !this.props.isSelected);
10
if (this.props.onRowClick) this.props.onRowClick(e.currentTarget.rowIndex);
+ }
11
}
12
13
render(){
0 commit comments