This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
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
af706583bd
commit
191696ab30
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
;
}
Write
Preview
Loading…
Cancel
Save