Fix #2646 - Do not override ctrl/cmd+click on Permalinks (#3073)

th-downstream
Eugen Rochko 8 years ago committed by GitHub
parent bd7dc50186
commit 160c50957f

@ -15,7 +15,7 @@ class Permalink extends React.PureComponent {
};
handleClick = (e) => {
if (e.button === 0) {
if (e.button === 0 && !(e.ctrlKey || e.metaKey)) {
e.preventDefault();
this.context.router.push(this.props.to);
}

Loading…
Cancel
Save