mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01: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