Skip to content

Commit

Permalink
[fixed] typo in Link
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Aug 8, 2014
1 parent 3e6f6a8 commit ca96f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/components/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var Link = React.createClass({
if (isModifiedEvent(event) || !isLeftClick(event))
return;

if (ret === false || event.preventDefaulted === true)
if (ret === false || event.defaultPrevented === true)
allowTransition = false;

event.preventDefault();
Expand Down

2 comments on commit ca96f86

@thomasboyt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need a git hook that will prevent me from pushing until I've had coffee :s

@ryanflorence
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too bad this isn't ruby, would probably alias those.

Please sign in to comment.