From 191696ab303d83cabf802e804443968b3053d775 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 15 May 2017 22:36:38 +0200 Subject: Fix #2646 - Do not override ctrl/cmd+click on Permalinks (#3073) --- app/javascript/mastodon/components/permalink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/javascript/mastodon/components/permalink.js b/app/javascript/mastodon/components/permalink.js index 531ece33f..08f187728 100644 --- a/app/javascript/mastodon/components/permalink.js +++ b/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); } -- cgit