parent
af706583bd
commit
191696ab30
|
@ -15,7 +15,7 @@ class Permalink extends React.PureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
handleClick = (e) => {
|
handleClick = (e) => {
|
||||||
if (e.button === 0) {
|
if (e.button === 0 && !(e.ctrlKey || e.metaKey)) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
this.context.router.push(this.props.to);
|
this.context.router.push(this.props.to);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue