mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
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
Block a user