Skip to content

Commit 24b42e1

Browse files
author
Bars92
authored
updated isKey to isLabel
1 parent 3bb2f68 commit 24b42e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/leaf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ var Leaf = React.createClass({
196196
expanded: !this.state.expanded
197197
});
198198
},
199-
_onClick: function(data, isKey, e) {
199+
_onClick: function(data, isLabel, e) {
200200
this.toggle();
201-
this.props.onClick(data, isKey);
201+
this.props.onClick(data, isLabel);
202202

203203
e.stopPropagation();
204204
},

0 commit comments

Comments
 (0)