Skip to content
Snippets Groups Projects
Commit 191696ab authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

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

parent af706583
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment