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 “open” link of media modal not closing modal (
#16524
)
closed-social-v3
Claire
3 years ago
committed by
Eugen Rochko
parent
77d0297313
commit
9c610ca0a4
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
app/javascript/mastodon/features/picture_in_picture/components/footer.js
+ 5
- 1
app/javascript/mastodon/features/picture_in_picture/components/footer.js
View File
@ -114,7 +114,11 @@ class Footer extends ImmutablePureComponent {
return
;
}
const
{
status
}
=
this
.
props
;
const
{
status
,
onClose
}
=
this
.
props
;
if
(
onClose
)
{
onClose
(
)
;
}
router
.
history
.
push
(
`
/statuses/
${
status
.
get
(
'id'
)
}
`
)
;
}
Write
Preview
Loading…
Cancel
Save