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

master
Eugen Rochko 7 years ago committed by GitHub
parent af706583bd
commit 191696ab30
  1. 2
      app/javascript/mastodon/components/permalink.js

@ -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