Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Aug 4, 2015
1 parent 2da6794 commit b77b525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/list/index.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = React.createClass

# -- Events
onClick: (event, data, index) ->
@props.onClick? event, item, @refs[index] if @refs[index]?
@props.onClick? event, item, (@refs[index] if @refs[index]?)

# -- Render
render: ->
Expand Down

0 comments on commit b77b525

Please sign in to comment.