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
Do not handle clicks in detailed status content
closed-social-glitch-2
Thibaut Girka
5 years ago
committed by
ThibG
parent
3f5acc1ab3
commit
14bad3f472
2 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
app/javascript/flavours/glitch/components/status_content.js
+1
-0
app/javascript/flavours/glitch/features/status/components/detailed_status.js
+ 2
- 2
app/javascript/flavours/glitch/components/status_content.js
View File
@ -91,9 +91,9 @@ export default class StatusContent extends React.PureComponent {
}
handleMouseUp
=
(
e
)
=>
{
const
{
parseClick
}
=
this
.
props
;
const
{
parseClick
,
disabled
}
=
this
.
props
;
if
(
!
this
.
startXY
)
{
if
(
disabled
||
!
this
.
startXY
)
{
return
;
}
+ 1
- 0
app/javascript/flavours/glitch/features/status/components/detailed_status.js
View File
@ -228,6 +228,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
onExpandedToggle
=
{
onToggleHidden
}
parseClick
=
{
this
.
parseClick
}
onUpdate
=
{
this
.
handleChildUpdate
}
disabled
/
>
<
div
className
=
'detailed-status__meta'
>
Write
Preview
Loading…
Cancel
Save