Browse Source

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

closed-social-glitch-2
Eugen Rochko 7 years ago
committed by GitHub
parent
commit
191696ab30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/components/permalink.js

+ 1
- 1
app/javascript/mastodon/components/permalink.js View File

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