Skip to content

Commit

Permalink
[fixed] alt click on Link should count as modified
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiebits committed Jul 27, 2014
1 parent 97c02f1 commit 4c4f87b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/components/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var RESERVED_PROPS = {
* <Route name="showPost" path="/posts/:postId" handler={Post}/>
*
* You could use the following component to link to that route:
*
*
* <Link to="showPost" postId="123"/>
*
* In addition to params, links may pass along query string parameters
Expand Down Expand Up @@ -134,7 +134,7 @@ function isLeftClick(event) {
}

function isModifiedEvent(event) {
return !!(event.metaKey || event.ctrlKey || event.shiftKey);
return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
}

module.exports = Link;

0 comments on commit 4c4f87b

Please sign in to comment.